Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPi Lanningham <Quantumplation>2021-01-11 14:00:58 +0300
committerBastien Montagne <bastien@blender.org>2021-01-11 14:02:06 +0300
commitf0ae0f490eaae439961f6d822dcfd77b98a2c838 (patch)
tree4d1f60474a2a8afee63b78429623e6b33f73c7b8 /source/blender/editors/space_outliner/outliner_edit.c
parent6e7716f32ee0f0c745c703d785646307c4a6b2c6 (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
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_edit.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_edit.c4
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;