Fix T84327: outliner_id_copy_tag was only copying from expanded nodes.
If a node was closed in the hierarchy, we would only copy that node, even if child nodes were selected. Reviewed By: brecht, mont29 Maniphest Tasks: T84327 Differential Revision: https://developer.blender.org/D9995
This commit is contained in:
committed by
Bastien Montagne
parent
6e7716f32e
commit
f0ae0f490e
@@ -772,9 +772,7 @@ static int outliner_id_copy_tag(SpaceOutliner *space_outliner, ListBase *tree)
|
||||
}
|
||||
|
||||
/* go over sub-tree */
|
||||
if (TSELEM_OPEN(tselem, space_outliner)) {
|
||||
num_ids += outliner_id_copy_tag(space_outliner, &te->subtree);
|
||||
}
|
||||
num_ids += outliner_id_copy_tag(space_outliner, &te->subtree);
|
||||
}
|
||||
|
||||
return num_ids;
|
||||
|
||||
Reference in New Issue
Block a user