[Bf-blender-cvs] [2597c12b0c1] master: Cleanup: Remove outliner statement with no effect

Nathan Craddock noreply at git.blender.org
Fri Aug 7 19:58:37 CEST 2020


Commit: 2597c12b0c103ec922d1ec5ff912dbd9d691f1b3
Author: Nathan Craddock
Date:   Fri Aug 7 10:33:03 2020 -0600
Branches: master
https://developer.blender.org/rB2597c12b0c103ec922d1ec5ff912dbd9d691f1b3

Cleanup: Remove outliner statement with no effect

No functional changes. The memory dupalloc will already carry over the
flags.

===================================================================

M	source/blender/editors/space_outliner/space_outliner.c

===================================================================

diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c
index 8a78211f145..63abc22f367 100644
--- a/source/blender/editors/space_outliner/space_outliner.c
+++ b/source/blender/editors/space_outliner/space_outliner.c
@@ -351,7 +351,6 @@ static SpaceLink *outliner_duplicate(SpaceLink *sl)
   soutlinern->treestore = NULL;
   soutlinern->treehash = NULL;
 
-  soutlinern->flag |= (soutliner->flag & SO_SYNC_SELECT);
   soutlinern->sync_select_dirty = WM_OUTLINER_SYNC_SELECT_FROM_ALL;
 
   return (SpaceLink *)soutlinern;



More information about the Bf-blender-cvs mailing list