Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-15 18:55:28 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-15 19:05:28 +0300
commit8c37a7fe4a81e89c2400d4264b7fea8e89b56638 (patch)
tree6a21e76f5821b1f1f734f294c6a875211c48a159 /camera_dolly_crane_rigs.py
parent467303ba70d6f406a1942321f1962d2ce2491928 (diff)
Update for object add align property changes
Diffstat (limited to 'camera_dolly_crane_rigs.py')
-rw-r--r--camera_dolly_crane_rigs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/camera_dolly_crane_rigs.py b/camera_dolly_crane_rigs.py
index 13025675..4a430813 100644
--- a/camera_dolly_crane_rigs.py
+++ b/camera_dolly_crane_rigs.py
@@ -525,7 +525,7 @@ def build_dolly_rig(context):
bpy.ops.object.mode_set(mode='OBJECT')
bpy.ops.object.camera_add(
- view_align=False, enter_editmode=False, location=(0, 0, 0), rotation=(0, 0, 0))
+ align='WORLD', enter_editmode=False, location=(0, 0, 0), rotation=(0, 0, 0))
cam = bpy.context.active_object
# this will name the Camera Object
@@ -711,7 +711,7 @@ def build_crane_rig(context):
bpy.ops.object.mode_set(mode='OBJECT')
bpy.ops.object.camera_add(
- view_align=False, enter_editmode=False, location=(0, 0, 0), rotation=(0, 0, 0))
+ align='WORLD', enter_editmode=False, location=(0, 0, 0), rotation=(0, 0, 0))
cam = bpy.context.active_object
# this will name the Camera Object