Blender Git Commit Log

Git Commits -> Revision 003387f

Revision 003387f by Lukas Toenne (master)
May 17, 2014, 16:28 (GMT)
Fix T40230: Recursion check when adding objects to groups is incorrect.

rB568f0c7 added a recursion check that is supposed to prevent cyclic
cases where a group includes itself via dupli instancing.

The check function was descending into all groups nested inside the
target group - which works for single level recursion like in the test
case, but does not handle generic recursion. Basically it asked:
"is object X in the group already or in any instanced dupligroup?"

The new check instead asks:
"is group G dupli'd by X or any instanced subgroup thereof?"
which is what we really need to know.

Commit Details:

Full Hash: 003387fab543711495e2ceb80a663d7f79fcf447
Parent Commit: 2bbb442
Lines Changed: +14, -21

1 Modified Path:

/source/blender/editors/object/object_group.c (+14, -21) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021