[Bf-blender-cvs] [27da9edb1d8] soc-2019-outliner: Outliner: Move sync selection toggle to filter popover

Nathan Craddock noreply at git.blender.org
Tue Jul 23 20:05:44 CEST 2019


Commit: 27da9edb1d82b530a59878f4bf1dca5306958165
Author: Nathan Craddock
Date:   Tue Jul 23 12:04:39 2019 -0600
Branches: soc-2019-outliner
https://developer.blender.org/rB27da9edb1d82b530a59878f4bf1dca5306958165

Outliner: Move sync selection toggle to filter popover

Moved the toggle to the popover. When in sequences view the
filter popover does not show, so the toggle is drawn on the header
in that case.

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

M	release/scripts/startup/bl_ui/space_outliner.py

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

diff --git a/release/scripts/startup/bl_ui/space_outliner.py b/release/scripts/startup/bl_ui/space_outliner.py
index dadba32d952..0cc0cf22732 100644
--- a/release/scripts/startup/bl_ui/space_outliner.py
+++ b/release/scripts/startup/bl_ui/space_outliner.py
@@ -46,7 +46,7 @@ class OUTLINER_HT_header(Header):
 
         layout.separator_spacer()
 
-        if display_mode not in {'LIBRARIES', 'DATA_API', 'ORPHAN_DATA'}:
+        if display_mode == 'SEQUENCE':
             row = layout.row(align=True)
             row.prop(space, "use_sync_selection", text="")
 
@@ -307,6 +307,10 @@ class OUTLINER_PT_filter(Panel):
         space = context.space_data
         display_mode = space.display_mode
 
+        row = layout.row(align=True)
+        row.prop(space, "use_sync_selection", text="Sync Selection")
+        layout.separator()
+
         if display_mode == 'VIEW_LAYER':
             layout.label(text="Restriction Toggles:")
             row = layout.row(align=True)



More information about the Bf-blender-cvs mailing list