Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3481)

Unified Diff: release/scripts/presets/tracking_camera/Canon_1D.py

Issue 5285047: Camera tracking integration Base URL: https://svn.blender.org/svnroot/bf-blender/trunk/blender/
Patch Set: Updated to tomato rev41255 Created 12 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: release/scripts/presets/tracking_camera/Canon_1D.py
===================================================================
--- release/scripts/presets/tracking_camera/Canon_1D.py (revision 0)
+++ release/scripts/presets/tracking_camera/Canon_1D.py (revision 0)
@@ -0,0 +1,10 @@
+import bpy
+camera = bpy.context.edit_movieclip.tracking.camera
+
+camera.sensor_width = 27.9
+camera.units = 'MILLIMETERS'
+camera.focal_length = 24.0
+camera.pixel_aspect = 1
+camera.k1 = 0.0
+camera.k2 = 0.0
+camera.k3 = 0.0

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b