diff options
author | Roland Hess <me@harkyman.com> | 2009-11-28 06:45:40 +0300 |
---|---|---|
committer | Roland Hess <me@harkyman.com> | 2009-11-28 06:45:40 +0300 |
commit | c6b4c2716a5fb2784b9b2ddc5ec555ff68a2d24b (patch) | |
tree | 9aaa243baceb54d3680b0f59832a27de57527e87 /release/scripts/ui | |
parent | afe48799911ca09d9eaa4d1928eacc99fb6c7176 (diff) |
Head/Tail property was never added for Track To and Stretch To constraint types. Added to RNA and changed UI check.
Diffstat (limited to 'release/scripts/ui')
-rw-r--r-- | release/scripts/ui/properties_object_constraint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_object_constraint.py b/release/scripts/ui/properties_object_constraint.py index 54efa733152..d3bad4e7bdb 100644 --- a/release/scripts/ui/properties_object_constraint.py +++ b/release/scripts/ui/properties_object_constraint.py @@ -77,7 +77,7 @@ class ConstraintButtonsPanel(bpy.types.Panel): else: layout.prop_object(con, "subtarget", con.target.data, "bones", text="") - if con.type == 'COPY_LOCATION': + if con.type in ('COPY_LOCATION', 'STRETCH_TO', 'TRACK_TO'): row = layout.row() row.label(text="Head/Tail:") row.prop(con, "head_tail", text="") |