[Bf-blender-cvs] [76d7186d613] blender2.8: UI: use new transform orientation when created.
Brecht Van Lommel
noreply at git.blender.org
Tue Jul 3 14:26:44 CEST 2018
Commit: 76d7186d613e218d098c23a2267a7d60cb6bd283
Author: Brecht Van Lommel
Date: Tue Jul 3 14:23:47 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB76d7186d613e218d098c23a2267a7d60cb6bd283
UI: use new transform orientation when created.
===================================================================
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 0217008f569..1927f95670f 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4157,9 +4157,10 @@ class VIEW3D_PT_transform_orientations(Panel):
scene = context.scene
orientation = scene.current_orientation
- col = layout.split(percentage=0.9)
+ row = layout.row()
+ col = row.column()
col.prop(scene, "transform_orientation", expand=True)
- col.operator("transform.create_orientation", text="", icon='ZOOMIN', emboss=False)
+ row.operator("transform.create_orientation", text="", icon='ZOOMIN', emboss=False).use = True
if orientation:
row = layout.row(align=False)
More information about the Bf-blender-cvs
mailing list