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 /mesh_tissue
parent467303ba70d6f406a1942321f1962d2ce2491928 (diff)
Update for object add align property changes
Diffstat (limited to 'mesh_tissue')
-rw-r--r--mesh_tissue/lattice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh_tissue/lattice.py b/mesh_tissue/lattice.py
index 782576cd..4b53afe7 100644
--- a/mesh_tissue/lattice.py
+++ b/mesh_tissue/lattice.py
@@ -365,7 +365,7 @@ class lattice_along_surface(Operator):
bb = max - min
lattice_loc = (max + min) / 2
- bpy.ops.object.add(type='LATTICE', view_align=False,
+ bpy.ops.object.add(type='LATTICE', align='WORLD',
enter_editmode=False)
lattice = bpy.context.active_object
lattice.location = lattice_loc