diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-15 18:55:28 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-15 19:05:28 +0300 |
commit | 8c37a7fe4a81e89c2400d4264b7fea8e89b56638 (patch) | |
tree | 6a21e76f5821b1f1f734f294c6a875211c48a159 /camera_dolly_crane_rigs.py | |
parent | 467303ba70d6f406a1942321f1962d2ce2491928 (diff) |
Update for object add align property changes
Diffstat (limited to 'camera_dolly_crane_rigs.py')
-rw-r--r-- | camera_dolly_crane_rigs.py | 4 |
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 |