[Bf-blender-cvs] [2986923f8c6] master: UI: disable split layout for cursor transform

Campbell Barton noreply at git.blender.org
Tue Feb 26 04:32:55 CET 2019


Commit: 2986923f8c62ef78b783991ff5fbf9e8cadb209c
Author: Campbell Barton
Date:   Tue Feb 26 14:31:54 2019 +1100
Branches: master
https://developer.blender.org/rB2986923f8c62ef78b783991ff5fbf9e8cadb209c

UI: disable split layout for cursor transform

There isn't much horizontal space in the side-bar,
also object transform which is very similar doesn't use a split layout.

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

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 4ab7bbe31f2..6a0ba6a713d 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4324,8 +4324,6 @@ class VIEW3D_PT_view3d_cursor(Panel):
 
     def draw(self, context):
         layout = self.layout
-        layout.use_property_split = True
-        layout.use_property_decorate = False  # No animation.
 
         scene = context.scene
 
@@ -4337,7 +4335,7 @@ class VIEW3D_PT_view3d_cursor(Panel):
             layout.column().prop(scene, "cursor_rotation_axis_angle", text="Rotation")
         else:
             layout.column().prop(scene, "cursor_rotation_euler", text="Rotation")
-        layout.row().prop(scene, "cursor_rotation_mode")
+        layout.prop(scene, "cursor_rotation_mode", text="")
 
 
 class VIEW3D_PT_collections(Panel):



More information about the Bf-blender-cvs mailing list