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:
authorRoland Hess <me@harkyman.com>2009-11-28 06:45:40 +0300
committerRoland Hess <me@harkyman.com>2009-11-28 06:45:40 +0300
commitc6b4c2716a5fb2784b9b2ddc5ec555ff68a2d24b (patch)
tree9aaa243baceb54d3680b0f59832a27de57527e87 /release/scripts/ui
parentafe48799911ca09d9eaa4d1928eacc99fb6c7176 (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.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 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="")