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:
authorHans Goudey <h.goudey@me.com>2019-05-15 17:56:22 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-15 19:10:58 +0300
commit06fe2a5e0c5d6202864701cf7fd800e4906057c9 (patch)
tree020910555116b6f002e87e52bb1f50a49e5967ef /tests/python/bl_mesh_modifiers.py
parentddae9c92326486c5c95613bc0b7bb46e2d9bc261 (diff)
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
Diffstat (limited to 'tests/python/bl_mesh_modifiers.py')
-rw-r--r--tests/python/bl_mesh_modifiers.py4
1 files changed, 2 insertions, 2 deletions
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),