diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-05-17 20:28:30 +0400 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2014-05-17 20:28:30 +0400 |
commit | 003387fab543711495e2ceb80a663d7f79fcf447 (patch) | |
tree | e0bdb88d1cc909f65bdca4634b2defb3d9844736 /build_files/cmake | |
parent | 2bbb442fc9d5cbbf0c0d3035507c26f7bb6d6bf2 (diff) |
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.
Diffstat (limited to 'build_files/cmake')
0 files changed, 0 insertions, 0 deletions