Outliner restriction filter: Unify order
authorDalai Felinto <dfelinto@gmail.com>
Tue, 14 May 2019 20:13:26 +0000 (17:13 -0300)
committerDalai Felinto <dfelinto@gmail.com>
Tue, 14 May 2019 20:51:08 +0000 (17:51 -0300)
The popup menu was a different order than the drawing in the outliner.

release/scripts/startup/bl_ui/space_outliner.py

index f0f6776..42f3b32 100644 (file)
@@ -308,8 +308,8 @@ class OUTLINER_PT_filter(Panel):
             row = layout.row(align=True)
             row.prop(space, "show_restrict_column_enable", text="")
             row.prop(space, "show_restrict_column_selectable", text="")
-            row.prop(space, "show_restrict_column_instance", text="")
             row.prop(space, "show_restrict_column_viewport", text="")
+            row.prop(space, "show_restrict_column_instance", text="")
             row.prop(space, "show_restrict_column_render", text="")
             row.prop(space, "show_restrict_column_holdout", text="")
             row.prop(space, "show_restrict_column_indirect_only", text="")
@@ -318,8 +318,8 @@ class OUTLINER_PT_filter(Panel):
             layout.label(text="Restriction Toggles:")
             row = layout.row(align=True)
             row.prop(space, "show_restrict_column_selectable", text="")
-            row.prop(space, "show_restrict_column_instance", text="")
             row.prop(space, "show_restrict_column_viewport", text="")
+            row.prop(space, "show_restrict_column_instance", text="")
             row.prop(space, "show_restrict_column_render", text="")
             layout.separator()