diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-12-16 00:38:23 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-12-16 00:38:23 +0400 |
commit | 8a9d901c81b0357bca833f3ccb2d4f674873e58d (patch) | |
tree | 16d3d3746a87970ae931c2bf4438b3d92b1ea06f /release | |
parent | e534af906a938b6e3cf0727d577c89a51052f6ff (diff) |
Camera tracking: add camera to follow track and object solver constraint
Object used to be parented to active camera which isn't very convenient when
working with witness cameras.
Now parent camera can be specified in constraint (if it's not specified, active camera is used)
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_object_constraint.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_object_constraint.py b/release/scripts/startup/bl_ui/properties_object_constraint.py index 6bec2fea74f..32ed1c3f1b1 100644 --- a/release/scripts/startup/bl_ui/properties_object_constraint.py +++ b/release/scripts/startup/bl_ui/properties_object_constraint.py @@ -776,6 +776,8 @@ class ConstraintButtonsPanel(): layout.prop_search(con, "object", clip.tracking, "objects", icon='OBJECT_DATA') layout.prop_search(con, "track", clip.tracking, "tracks", icon='ANIMATION_DATA') + layout.prop(con, "camera") + layout.operator("clip.constraint_to_fcurve") def CAMERA_SOLVER(self, context, layout, con): @@ -798,6 +800,8 @@ class ConstraintButtonsPanel(): if clip: layout.prop_search(con, "object", clip.tracking, "objects", icon='OBJECT_DATA') + layout.prop(con, "camera") + row = layout.row() row.operator("constraint.objectsolver_set_inverse") row.operator("constraint.objectsolver_clear_inverse") |