diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-08-10 12:51:34 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-08-10 12:51:34 +0400 |
commit | 56b2f4df03728f18252288172bd14d2eecd98f41 (patch) | |
tree | 6344277aebfb54f9b13548109ecbcda8a6e7e5dc /release | |
parent | 414b9865e46b0e8041dd8a6e03479479fc7dc73c (diff) |
Fix wrong tracks list used for search in Follow Track constraint
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_object_constraint.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_object_constraint.py b/release/scripts/startup/bl_ui/properties_object_constraint.py index 3c53a829fa2..3d671a0d1b7 100644 --- a/release/scripts/startup/bl_ui/properties_object_constraint.py +++ b/release/scripts/startup/bl_ui/properties_object_constraint.py @@ -782,8 +782,13 @@ class ConstraintButtonsPanel(): row.prop(con, "frame_method", expand=True) if clip: - col.prop_search(con, "object", clip.tracking, "objects", icon='OBJECT_DATA') - col.prop_search(con, "track", clip.tracking, "tracks", icon='ANIM_DATA') + tracking = clip.tracking + + col.prop_search(con, "object", tracking, "objects", icon='OBJECT_DATA') + + tracking_object = tracking.objects.get(con.object, tracking.objects[0]) + + col.prop_search(con, "track", tracking_object, "tracks", icon='ANIM_DATA') col.prop(con, "camera") |