Collection manager - remove empty collection not working corectly (not deleting empty in full) #89070
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#89070
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1650 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71
Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash:
blender/blender@84da05a8b8
Worked: (newest version of Blender that worked as expected)
Short description of error
Collection manager - remove empty collection not working corectly (not deleting empty in full)
Exact steps for others to reproduce the error
remove collections bug.blend
Added subscriber: @ManBlender
Added subscriber: @PratikPB2123
Changed status from 'Needs Triage' to: 'Confirmed'
Can confirm.
Changed status from 'Confirmed' to: 'Needs Developer To Reproduce'
Added subscriber: @Imaginer
I think current algorithm does not remove parent of empty child collection on single attempt. One more attempt to
Remove empty Collections
will delete this parent(if it's empty).I misunderstood the logic initially. So far this seems intended behavior. @Imaginer , do you want to mention something (or want to correct my words)?
I can add that, if more collections and objects this work in more unpredictable way - leaving randomly collections or something like this.
@ManBlender , great! Before submitting the patch I think Ryan's call will be useful.
From the screenshots I can see that it's working as intended. If you look at the tooltip it says that it will remove any collections that don't have objects and do not contain any subcollections. If you check the before screenshot, the two collections that are left both contain subcollections, and so aren't empty. To remove all collections that don't contain objects (regardless of whether they have subcollections or not) use
Purge All Collections Without Objects
(if that doesn't clear them, then that's a bug ;) ).Thanks for using the Collection Manager @ManBlender. :)
Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
@Imaginer , thanks for the clarification :)
Closing the task. thanks again for the report!
@PratikPB2123 Welcome :)
Ok, I understand now. I not included the situation that clicking many times
Remove empty Collections
deleting child like recursion process, by this I recognized the random.Thx for explanation.
@ManBlender
Your welcome. :)
Yes, you can achieve the same result as
Purge All Collections Without Objects
by clickingRemove Empty Collections
multiple times. I received feedback that it was important to have both options, so both are included :)