From 5ba0ce854410b51b6d0db3adb826259949f41f18 Mon Sep 17 00:00:00 2001 From: William Reynish Date: Tue, 3 Sep 2019 22:34:55 +0200 Subject: [PATCH] UI: Minor fixes to Delta Transform panel Removes some wrong gaps appearing --- release/scripts/startup/bl_ui/properties_object.py | 12 +++++------- 1 file 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):