Commit: f0ae0f490eaae439961f6d822dcfd77b98a2c838 Author: Pi Lanningham Date: Mon Jan 11 12:00:58 2021 +0100 Branches: master https://developer.blender.org/rBf0ae0f490eaae439961f6d822dcfd77b98a2c838
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 =================================================================== M source/blender/editors/space_outliner/outliner_edit.c =================================================================== 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; _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
