Recursive Collections?! #56982

Closed
opened 2018-09-30 14:25:40 +02:00 by Bent Hillerkus · 11 comments

System Information
Win 10, GTX 970

Blender Version
Broken: 2.8

Short description of error
A collection can contain itself. It's actually pretty neat and I guess you can do cool stuff with that - though having a slider or something like that to limit the amount of recursions would be cool.

image.png

Exact steps for others to reproduce the error
Create a collection, instance it, move that instance into the original collection

Attached
A screenshot
A demo blend file
recursivecollections.blend

**System Information** Win 10, GTX 970 **Blender Version** Broken: 2.8 **Short description of error** A collection can contain itself. It's actually pretty neat and I guess you can do cool stuff with that - though having a slider or something like that to limit the amount of recursions would be cool. ![image.png](https://archive.blender.org/developer/F4877005/image.png) **Exact steps for others to reproduce the error** Create a collection, instance it, move that instance into the original collection **Attached** A screenshot A demo blend file [recursivecollections.blend](https://archive.blender.org/developer/F4877009/recursivecollections.blend)
Author

Added subscriber: @bent

Added subscriber: @bent

Added subscribers: @brecht, @mont29

Added subscribers: @brecht, @mont29
Brecht Van Lommel was assigned by Bastien Montagne 2018-09-30 21:50:26 +02:00

@brecht I thought we had checks to prevent that kind of recursion?

@brecht I thought we had checks to prevent that kind of recursion?

Added subscriber: @satishgoda1

Added subscriber: @satishgoda1

Added subscribers: @dfelinto, @BartekMoniewski

Added subscribers: @dfelinto, @BartekMoniewski
Brecht Van Lommel was unassigned by Bartosz Moniewski 2019-05-12 10:10:01 +02:00
Dalai Felinto was assigned by Bartosz Moniewski 2019-05-12 10:10:01 +02:00

This behavior is still present in current builds and can result in pretty nasty bugs and performance related crashes. Assigning @dfelinto upon his twitter comment .

This behavior is still present in current builds and can result in pretty nasty bugs and performance related crashes. Assigning @dfelinto upon his [twitter comment ](https://twitter.com/dfelinto/status/1127428318645641217).
Dalai Felinto removed their assignment 2019-12-23 16:35:56 +01:00

Added subscriber: @mano-wii

Added subscriber: @mano-wii

You can get interesting results with these recursive collections.
I just wonder why it's not infinite.
image.png

You can get interesting results with these recursive collections. I just wonder why it's not infinite. ![image.png](https://archive.blender.org/developer/F8283121/image.png)
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Hans Goudey self-assigned this 2020-07-14 00:03:37 +02:00
Member

I wasn't able to parent collections recursively in the outliner or the properties editor, so I'm assuming this is resolved. Maybe I'm misunderstanding how this worked though? If I'm wrong please comment here.

I wasn't able to parent collections recursively in the outliner or the properties editor, so I'm assuming this is resolved. Maybe I'm misunderstanding how this worked though? If I'm wrong please comment here.
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
6 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#56982
No description provided.