[Bf-blender-cvs] [05bb793b396] master: UI: Minor tweak on Object Type Visibility popover.

Pablo Vazquez noreply at git.blender.org
Thu Feb 28 20:09:55 CET 2019


Commit: 05bb793b3964d130a81168a6a1a26c41e369d166
Author: Pablo Vazquez
Date:   Thu Feb 28 20:09:40 2019 +0100
Branches: master
https://developer.blender.org/rB05bb793b3964d130a81168a6a1a26c41e369d166

UI: Minor tweak on Object Type Visibility popover.

Mirror order of items as in 'Add' object menu.

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

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

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

diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index dd0836ffdba..c39e3b4c522 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4457,15 +4457,15 @@ class VIEW3D_PT_object_type_visibility(Panel):
             ("surf", "Surface"),
             ("meta", "Meta"),
             ("font", "Font"),
+            ("grease_pencil", "Grease Pencil"),
             (None, None),
             # Other
             ("armature", "Armature"),
             ("lattice", "Lattice"),
             ("empty", "Empty"),
-            ("grease_pencil", "Grease Pencil"),
-            ("camera", "Camera"),
             ("light", "Light"),
             ("light_probe", "Light Probe"),
+            ("camera", "Camera"),
             ("speaker", "Speaker"),
         )



More information about the Bf-blender-cvs mailing list