Blender Git Loki
Git Commits -> Revision fa34bcf
Revision fa34bcf by Sergey Sharybin (master) July 13, 2011, 08:26 (GMT) |
Camera tracking integration =========================== Attempt to fix bundles position for case scene camera has got other constraints than CameraSolver (mostly to support camera parenting to other object for scene orientation). Use a bit silly logic to calculate camera matrix to orient bundles in 3d space: temporary disable all CameraSolver constraints for camera, re-calculate object matrix, use it to orient bundles and clear temporary flag. This allows to parent both of camera and mesh created from bundles to the same Empty object and both of bundles and mesh vertices would have the same coords in camera space. Also removed copying of location/rotation from camera to bundles object in "Bundles to Mesh" operator. |
Commit Details:
Full Hash: fa34bcf6eed029a11f883558802af804469efa91
SVN Revision: 38354
Parent Commit: 1f41ea8
Lines Changed: +45, -13
5 Modified Paths:
/release/scripts/startup/bl_ui/space_clip.py (+0, -6) (Diff)
/source/blender/blenkernel/intern/constraint.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+11, -0) (Diff)
/source/blender/blenkernel/intern/tracking.c (+29, -6) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/constraint.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+11, -0) (Diff)
/source/blender/blenkernel/intern/tracking.c (+29, -6) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+2, -1) (Diff)