Organizing Nested Collections Activates Deactivated Children #81545

Closed
opened 2020-10-08 16:38:15 +02:00 by Daniel Houghton · 10 comments

System Information
Operating system: Darwin-19.6.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 5500M OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.18

Blender Version
Broken: version: 2.90.1, branch: master, commit date: 2020-09-23 06:43, hash: 3e85bb34d0
Worked: (newest version of Blender that worked as expected)

Short description of error
If you have a collection nested within another collection:

  • A
    • B

and both collections are deactivated (checkbox is unchecked)

and you move A into a collection that is activated (checkbox checked)

then B becomes activated.

This is a bit of a problem when organizing high poly objects in collections as suddenly the high poly objects activate when I'm not expecting them to.

Exact steps for others to reproduce the error
From the default scene:

  1. Add Cube.001, move it to the side so you can see it and move it into a New Collection called A
  2. Add Cube.002, move it to the side so you can see it and move it into a New Collection called B
  3. Move B into A to create the hierarchy below
  • A
    • B
      • Cube.002
  • Cube.001
  1. Deactivate B first and then deactivate A (uncheck the checkboxs)
  2. Move A (which will take B with it) into Collection
  3. Notice how B becomes activated even though it shouldn't.

Thanks for taking a peek at this!!
Daniel

**System Information** Operating system: Darwin-19.6.0-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon Pro 5500M OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.18 **Blender Version** Broken: version: 2.90.1, branch: master, commit date: 2020-09-23 06:43, hash: `3e85bb34d0` Worked: (newest version of Blender that worked as expected) **Short description of error** If you have a collection nested within another collection: - A - B and both collections are deactivated (checkbox is unchecked) and you move A into a collection that is activated (checkbox checked) then B becomes activated. This is a bit of a problem when organizing high poly objects in collections as suddenly the high poly objects activate when I'm not expecting them to. **Exact steps for others to reproduce the error** From the default scene: 1) Add Cube.001, move it to the side so you can see it and move it into a New Collection called A 2) Add Cube.002, move it to the side so you can see it and move it into a New Collection called B 3) Move B into A to create the hierarchy below - A - B - Cube.002 - Cube.001 4) Deactivate B first and then deactivate A (uncheck the checkboxs) 5) Move A (which will take B with it) into Collection 6) Notice how B becomes activated even though it shouldn't. Thanks for taking a peek at this!! Daniel
Author
Member

Added subscriber: @DanielHoughton

Added subscriber: @DanielHoughton
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Hans Goudey self-assigned this 2020-10-09 00:26:27 +02:00
Member

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

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

Hi Daniel! I do think this is a bug.

The code is pretty complicated here, but as far as I can tell all the "view layer collections" you see in the outliner are
created and destroyed whenever you move a collection, and these store the flags like the "exclude" one that was reset.
So the flags need to be copied over. But the existing code doesn't do that for the collection's children.

Maybe the problem is simpler than this, or completely different, we'll see!

Hi Daniel! I do think this is a bug. The code is pretty complicated here, but as far as I can tell all the "view layer collections" you see in the outliner are created and destroyed whenever you move a collection, and these store the flags like the "exclude" one that was reset. So the flags need to be copied over. But the existing code doesn't do that for the collection's children. Maybe the problem is simpler than this, or completely different, we'll see!

Added subscriber: @mont29

Added subscriber: @mont29

This is technically not a bug, but a known issue/TODO. Agree it should be addressed asap though.

This is technically not a bug, but a known issue/TODO. Agree it should be addressed asap though.

This issue was referenced by 89491d67d9

This issue was referenced by 89491d67d96f0bf104e65d88fbc39fee9ebaced6
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

Added subscriber: @mcolinp

Added subscriber: @mcolinp

This comment was removed by @mcolinp

*This comment was removed by @mcolinp*
Thomas Dinges added this to the 2.91 milestone 2023-02-08 16:20:22 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
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
EEVEE & Viewport
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
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
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
EEVEE & Viewport
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
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
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
5 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#81545
No description provided.