Disabling/enabling in viewport a sub collection doesn't make the instances of the collection disabled/enabled unless you save and re-open the file #76279

Open
opened 2020-04-30 22:18:01 +02:00 by Manda Rajoelisolo · 5 comments

System Information
Operating system: Windows 10 Pro 64-bit (10.0, Build 18363)
Graphics card: NVIDIA GeForce 920M (Laptop)

Blender Version
Broken: v2.83.13 Beta, 2020-04-21

Short description of error
If you disable/enable in viewport a sub collection of Collection then the instances of the parent collection "Collection" is not disabled/enabled in viewport unless you save and re-open the file.

Wanted result
The wanted result is exactly like when you save and re-open the file, because for example if you enable/disable the cube which is child of child of Collection, then the instance of cube is enable/disabled. And just like that, SubCollection is child of Collection and if it's enable/disabled then the instance should be enabled/disabled too.

Exact steps for others to reproduce the error
SubCollection_ViewportEnableDisable_refresh_bug.jpg
SubCollection_ViewportEnableDisable_refresh_bug.blend

  1. Open the provided file.
  2. Disable in viewport the collection named "SubCollection" to unreveal it in viewport. Now the two collection instances "Instance of 'Collection' (1) & (2)" are not hidden.
  3. Save the file.
  4. Press Ctrl+N and click General.
  5. Reopen the same file. Now the two collection instances before are hidden, but before they were not hidden, it's a bug about refreshing.
  6. Enable in viewport the collection named "SubCollection" to reveal it in viewport. Now the two collection instances "Instance of 'Collection' (1) & (2)" are not shown.
  7. Save the file.
  8. Press Ctrl+N and click General.
  9. Reopen the same file. Now the two collection instances before are shown, but before they were not shown, it's a bug about refreshing.

Steps for others to explain the logic of the viewport visibility of Collection and Collection Instance, this is not a bug, it's a useful feature that you should keep

  • Don't forget to enable the "SubCollection" if you didn't do it yet, you've already save and re-open the file.
  • Disable in viewport the collection named "Collection" to unreveal it (not SubCollection). Now the two collection instances "Instance of 'SubCollection' (1) & (2)" are not hidden. Now Enable back the "Collection", the enablement of the 2 collection instances "Instance of 'SubCollection' (1) & (2)" don't depend on the viewport enablement of the collection named "Collection".

Description of the last steps
It's very useful when you build a model in a .blend file at the origin (0, 0, 0), and its collection name is "MODEL", and you want to place a collection instance of it at other location (not origin), and you want to disable the model at the origin by disabling the parent collection of the collection named "MODEL", and you want to keep enabled (visible) the collection instances.
Monkey.jpg

People will adapt the non-logic bug but they will see weird things
This is a big problem because if people don't know the bug then they think that it's the logic of viewport enablement of collection instances, and all their projects depend on that, but once they save and close and then re-open the file, they will see weird things.

**System Information** Operating system: Windows 10 Pro 64-bit (10.0, Build 18363) Graphics card: NVIDIA GeForce 920M (Laptop) **Blender Version** Broken: v2.83.13 Beta, 2020-04-21 **Short description of error** If you disable/enable in viewport a sub collection of Collection then the instances of the parent collection "Collection" is not disabled/enabled in viewport unless you save and re-open the file. **Wanted result** The wanted result is exactly like when you save and re-open the file, because for example if you enable/disable the cube which is child of child of Collection, then the instance of cube is enable/disabled. And just like that, SubCollection is child of Collection and if it's enable/disabled then the instance should be enabled/disabled too. **Exact steps for others to reproduce the error** ![SubCollection_ViewportEnableDisable_refresh_bug.jpg](https://archive.blender.org/developer/F8505369/SubCollection_ViewportEnableDisable_refresh_bug.jpg) [SubCollection_ViewportEnableDisable_refresh_bug.blend](https://archive.blender.org/developer/F8505348/SubCollection_ViewportEnableDisable_refresh_bug.blend) 1. Open the provided file. 2. Disable in viewport the collection named "**SubCollection**" to unreveal it in viewport. Now the two collection instances "Instance of '**Collection**' (1) & (2)" are not hidden. 3. Save the file. 4. Press Ctrl+N and click General. 5. Reopen the same file. Now the two collection instances before are hidden, but before they were not hidden, it's a bug about refreshing. 6. Enable in viewport the collection named "**SubCollection**" to reveal it in viewport. Now the two collection instances "Instance of '**Collection**' (1) & (2)" are not shown. 7. Save the file. 8. Press Ctrl+N and click General. 9. Reopen the same file. Now the two collection instances before are shown, but before they were not shown, it's a bug about refreshing. **Steps for others to explain the logic of the viewport visibility of Collection and Collection Instance, this is not a bug, it's a useful feature that you should keep** - Don't forget to enable the "SubCollection" if you didn't do it yet, you've already save and re-open the file. - Disable in viewport the collection named "**Collection**" to unreveal it (not SubCollection). Now the two collection instances "Instance of '**SubCollection**' (1) & (2)" are not hidden. Now Enable back the "Collection", the enablement of the 2 collection instances "Instance of 'SubCollection' (1) & (2)" don't depend on the viewport enablement of the collection named "Collection". **Description of the last steps** It's very useful when you build a model in a .blend file at the origin (0, 0, 0), and its collection name is "_MODEL_", and you want to place a collection instance of it at other location (not origin), and you want to disable the model at the origin by disabling the parent collection of the collection named "_MODEL_", and you want to keep enabled (visible) the collection instances. ![Monkey.jpg](https://archive.blender.org/developer/F8503925/Monkey.jpg) **People will adapt the non-logic bug but they will see weird things** This is a big problem because if people don't know the bug then they think that it's the logic of viewport enablement of collection instances, and all their projects depend on that, but once they save and close and then re-open the file, they will see weird things.

Added subscriber: @manda.3d.projects

Added subscriber: @manda.3d.projects
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Added subscriber: @manzanilla

Added subscriber: @manzanilla

Added subscriber: @fclem

Added subscriber: @fclem

Without reopening the file, you can trigger the missing update by changing the viewport visibility of any Scene Collection object.

  • Open test file.
  • Disable SubCollection viewport visibility in outliner.
  • Change Sun (or any other object) viewport visibility in outliner to make the Instances of 'Collection' disappear.
Without reopening the file, you can trigger the missing update by changing the viewport visibility of any Scene Collection object. - Open test file. - Disable SubCollection viewport visibility in outliner. - Change Sun (or any other object) viewport visibility in outliner to make the Instances of 'Collection' disappear.
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:24:29 +01:00
Philipp Oeser added the
Interest
Core
label 2023-02-10 11:09:52 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#76279
No description provided.