Tomato: camera sensor changes
[blender.git] / release / scripts / presets / camera / Nikon_D90.py
index 820252f7300beaa66d61b661240eb7569b6cbf1d..a0505bf9b9c33822745d3c89a278be6b97eb4249 100644 (file)
@@ -1,3 +1,4 @@
 import bpy
-bpy.context.object.data.sensor_x = 23.6
-bpy.context.object.data.sensor_y = 15.8
+bpy.context.object.data.sensor_width = 23.6
+bpy.context.object.data.sensor_height = 15.8
+bpy.context.object.data.sensor_fit = 'HORIZONTAL'