[Bf-blender-cvs] [0e967bfb765] greasepencil-object: Toolbar: Move Ruler into same group with Annotations (but as separate buttons)

Joshua Leung noreply at git.blender.org
Tue Jul 10 09:15:16 CEST 2018


Commit: 0e967bfb76519f35681fed150f38251405bf4aea
Author: Joshua Leung
Date:   Tue Jul 10 19:13:10 2018 +1200
Branches: greasepencil-object
https://developer.blender.org/rB0e967bfb76519f35681fed150f38251405bf4aea

Toolbar: Move Ruler into same group with Annotations (but as separate buttons)

This way, the items group up nicer when you have the 2 column
icon groupings.

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

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

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

diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
index b760fbe0187..ab733a12952 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -1037,8 +1037,6 @@ class VIEW3D_PT_tools_active(ToolSelectPanelHelper, Panel):
             _defs_transform.scale,
             _defs_transform.scale_cage,
         ),
-        None,
-        _defs_view3d_generic.ruler,
     )
 
     _tools_select = (
@@ -1056,6 +1054,7 @@ class VIEW3D_PT_tools_active(ToolSelectPanelHelper, Panel):
             _defs_annotate.poly,
             _defs_annotate.eraser,
         ),
+        _defs_view3d_generic.ruler,
     )
 
     _tools = {



More information about the Bf-blender-cvs mailing list