bugreport & fix [#25441] Copy Transforms Constraint head/tail fixin'

from Dan Eicher (dna)
This commit is contained in:
2011-01-02 04:16:19 +00:00
parent 9f88e0faeb
commit d5820f0dd0
2 changed files with 3 additions and 2 deletions

View File

@@ -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="")