diff options
author | Pi Lanningham <Quantumplation> | 2021-01-11 14:00:58 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-01-11 14:02:06 +0300 |
commit | f0ae0f490eaae439961f6d822dcfd77b98a2c838 (patch) | |
tree | 4d1f60474a2a8afee63b78429623e6b33f73c7b8 | |
parent | 6e7716f32ee0f0c745c703d785646307c4a6b2c6 (diff) |
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
-rw-r--r-- | source/blender/editors/space_outliner/outliner_edit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/space_outliner/outliner_edit.c b/source/blender/editors/space_outliner/outliner_edit.c index 8170f1006a5..7df8e9e1de4 100644 --- a/source/blender/editors/space_outliner/outliner_edit.c +++ b/source/blender/editors/space_outliner/outliner_edit.c @@ -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; |