diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-02 07:16:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-02 07:16:19 +0300 |
commit | d5820f0dd03c9e049dc7613f46f82aaeab4e3f8a (patch) | |
tree | 6b3395c83cfe1343ef65a33657bc1bba19548fd4 /release | |
parent | 9f88e0faebd4dbcf15c09e2f80144a056bdcc5c0 (diff) |
bugreport & fix [#25441] Copy Transforms Constraint head/tail fixin'
from Dan Eicher (dna)
Diffstat (limited to 'release')
-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 605ce04f9f8..ea8e08fd390 100644 --- a/release/scripts/ui/properties_object_constraint.py +++ b/release/scripts/ui/properties_object_constraint.py @@ -61,7 +61,7 @@ class ConstraintButtonsPanel(): if con.target.type == 'ARMATURE': layout.prop_search(con, "subtarget", con.target.data, "bones", text="Bone") - if con.type in ('COPY_LOCATION', 'STRETCH_TO', 'TRACK_TO', 'PIVOT'): + if hasattr(con, "head_tail"): row = layout.row() row.label(text="Head/Tail:") row.prop(con, "head_tail", text="") |