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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-01-04 21:20:08 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-01-04 21:20:08 +0400
commitcd84a43334f59d9ff613a240467bbec5c882b7da (patch)
tree3029252a961de0257785fbf2387be1fc874d6ff4 /release
parent829216325de89ec156885ec7b8d2783c645e49a2 (diff)
Camera tracking: added depth object to Follow Track constraint
If this object is defined, object with Follow Track constraint would be projected into surface of this depth object. If object is not set or there's no projection onto it, projection plane calculated based on original object position would be used. This allows to make cheap facial mocap.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_object_constraint.py4
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 cf66baa03c4..57adfa1fa20 100644
--- a/release/scripts/startup/bl_ui/properties_object_constraint.py
+++ b/release/scripts/startup/bl_ui/properties_object_constraint.py
@@ -778,6 +778,10 @@ class ConstraintButtonsPanel():
layout.prop(con, "camera")
+ row = layout.row()
+ row.active = not con.use_3d_position
+ row.prop(con, "depth_object")
+
layout.operator("clip.constraint_to_fcurve")
def CAMERA_SOLVER(self, context, layout, con):