From 06fe2a5e0c5d6202864701cf7fd800e4906057c9 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Wed, 15 May 2019 16:56:22 +0200 Subject: Objects: new 3D cursor alignment option when adding objects The choices are now World, View and 3D Cursor. This breaks Python API compatibility, add-ons that add objects with this parameter will need to be updated. Differential Revision: https://developer.blender.org/D4706 --- tests/python/bl_mesh_modifiers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/python/bl_mesh_modifiers.py b/tests/python/bl_mesh_modifiers.py index 74eaaeb7c68..80f810ffad8 100644 --- a/tests/python/bl_mesh_modifiers.py +++ b/tests/python/bl_mesh_modifiers.py @@ -582,7 +582,7 @@ cube_shell_face = ( def make_cube(scene): - bpy.ops.mesh.primitive_cube_add(view_align=False, + bpy.ops.mesh.primitive_cube_add(align='WORLD', enter_editmode=False, location=(0, 0, 0), rotation=(0, 0, 0), @@ -652,7 +652,7 @@ def make_cube_shell_extra(scene): def make_monkey(scene): - bpy.ops.mesh.primitive_monkey_add(view_align=False, + bpy.ops.mesh.primitive_monkey_add(align='WORLD', enter_editmode=False, location=(0, 0, 0), rotation=(0, 0, 0), -- cgit v1.2.3