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:
Diffstat (limited to 'release/scripts/presets/camera/Samsung_Galaxy_S3.py')
-rw-r--r--release/scripts/presets/camera/Samsung_Galaxy_S3.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/presets/camera/Samsung_Galaxy_S3.py b/release/scripts/presets/camera/Samsung_Galaxy_S3.py
index 35670042e48..23eaea7cd27 100644
--- a/release/scripts/presets/camera/Samsung_Galaxy_S3.py
+++ b/release/scripts/presets/camera/Samsung_Galaxy_S3.py
@@ -1,5 +1,5 @@
import bpy
-bpy.context.object.data.sensor_width = 4.8
-bpy.context.object.data.sensor_height = 3.6
-bpy.context.object.data.lens = 3.70
-bpy.context.object.data.sensor_fit = 'HORIZONTAL'
+bpy.context.camera.sensor_width = 4.8
+bpy.context.camera.sensor_height = 3.6
+bpy.context.camera.lens = 3.70
+bpy.context.camera.sensor_fit = 'HORIZONTAL'