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 /mesh_tissue | |
parent | 467303ba70d6f406a1942321f1962d2ce2491928 (diff) |
Update for object add align property changes
Diffstat (limited to 'mesh_tissue')
-rw-r--r-- | mesh_tissue/lattice.py | 2 |
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 |