Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-01-02 07:16:19 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-01-02 07:16:19 +0300
commitd5820f0dd03c9e049dc7613f46f82aaeab4e3f8a (patch)
tree6b3395c83cfe1343ef65a33657bc1bba19548fd4 /release
parent9f88e0faebd4dbcf15c09e2f80144a056bdcc5c0 (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.py2
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="")