diff options
author | William Reynish <billrey@me.com> | 2019-09-03 23:34:55 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-09-03 23:34:55 +0300 |
commit | 5ba0ce854410b51b6d0db3adb826259949f41f18 (patch) | |
tree | 7c0845b88beac4fc50d3cc9268229576f47b3574 | |
parent | 1af0f1fed9a680df6cdde9c2b220b5ddc9bf03e0 (diff) |
UI: Minor fixes to Delta Transform panel
Removes some wrong gaps appearing
-rw-r--r-- | release/scripts/startup/bl_ui/properties_object.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/properties_object.py b/release/scripts/startup/bl_ui/properties_object.py index 7424c090764..d2ba047e07e 100644 --- a/release/scripts/startup/bl_ui/properties_object.py +++ b/release/scripts/startup/bl_ui/properties_object.py @@ -109,20 +109,18 @@ class OBJECT_PT_delta_transform(ObjectButtonsPanel, Panel): ob = context.object - col = flow.column() - col.prop(ob, "delta_location") + col = layout.column() + col.prop(ob, "delta_location", text="Location") - col = flow.column() rotation_mode = ob.rotation_mode if rotation_mode == 'QUATERNION': col.prop(ob, "delta_rotation_quaternion", text="Rotation") elif rotation_mode == 'AXIS_ANGLE': - col.label(text="Not for Axis-Angle") + pass else: - col.prop(ob, "delta_rotation_euler", text="Delta Rotation") + col.prop(ob, "delta_rotation_euler", text="Rotation") - col = flow.column() - col.prop(ob, "delta_scale") + col.prop(ob, "delta_scale", text="Scale") class OBJECT_PT_relations(ObjectButtonsPanel, Panel): |