diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-06-23 18:07:45 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2016-06-23 18:18:37 +0300 |
commit | 4fd78bb06faa31f265af6a5f247cf4255b5ac479 (patch) | |
tree | 5333aebfe2451139615e79bdb6e5eff3d15a679e /release | |
parent | 9466829eade042a45221b22b69575e1e3d5864a6 (diff) |
ChildOf Constraint: Hide the Loc/Rot/Scale toggles
The RNA properties are still there (in case you really need them), except now
they will not be shown in the UI anymore, as this constraint really didn't
work well/at all when any of those was disabled. Most people shouldn't really
need to worry about this change.
If anyone wants a matrix-math challenge, they're welcome to try getting those
working for real, so that we can show these toggles again.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_constraint.py | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/release/scripts/startup/bl_ui/properties_constraint.py b/release/scripts/startup/bl_ui/properties_constraint.py index 4ca2f773dcc..2a98303d00e 100644 --- a/release/scripts/startup/bl_ui/properties_constraint.py +++ b/release/scripts/startup/bl_ui/properties_constraint.py @@ -96,25 +96,25 @@ class ConstraintButtonsPanel: def CHILD_OF(self, context, layout, con): self.target_template(layout, con) - split = layout.split() - - col = split.column() - col.label(text="Location:") - col.prop(con, "use_location_x", text="X") - col.prop(con, "use_location_y", text="Y") - col.prop(con, "use_location_z", text="Z") - - col = split.column() - col.label(text="Rotation:") - col.prop(con, "use_rotation_x", text="X") - col.prop(con, "use_rotation_y", text="Y") - col.prop(con, "use_rotation_z", text="Z") - - col = split.column() - col.label(text="Scale:") - col.prop(con, "use_scale_x", text="X") - col.prop(con, "use_scale_y", text="Y") - col.prop(con, "use_scale_z", text="Z") + #split = layout.split() + + #col = split.column() + #col.label(text="Location:") + #col.prop(con, "use_location_x", text="X") + #col.prop(con, "use_location_y", text="Y") + #col.prop(con, "use_location_z", text="Z") + + #col = split.column() + #col.label(text="Rotation:") + #col.prop(con, "use_rotation_x", text="X") + #col.prop(con, "use_rotation_y", text="Y") + #col.prop(con, "use_rotation_z", text="Z") + + #col = split.column() + #col.label(text="Scale:") + #col.prop(con, "use_scale_x", text="X") + #col.prop(con, "use_scale_y", text="Y") + #col.prop(con, "use_scale_z", text="Z") row = layout.row() row.operator("constraint.childof_set_inverse") |