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)
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs