diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-09 00:36:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-09 00:36:44 +0300 |
commit | c05f4813b650b8b4d45c172c549947e562bf71aa (patch) | |
tree | 6f9a4887882a35da09fe6998bbcb318426cb4877 /io_mesh_stl/blender_utils.py | |
parent | cf8e2d201c86bfd6e8dc5817c8b6748787fd2182 (diff) |
incorrectly switched mesh.update() --> mesh.update_tag(),
update_tag() tags for depsgraph update only, update() executes normal recalculation and creates edge data.
Diffstat (limited to 'io_mesh_stl/blender_utils.py')
-rw-r--r-- | io_mesh_stl/blender_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_stl/blender_utils.py b/io_mesh_stl/blender_utils.py index f1beaa3e..3d0ef076 100644 --- a/io_mesh_stl/blender_utils.py +++ b/io_mesh_stl/blender_utils.py @@ -34,7 +34,7 @@ def create_and_link_mesh(name, faces, points): bpy.context.scene.objects.link(ob) # update mesh to allow proper display - mesh.update_tag() + mesh.update() def faces_from_mesh(ob, apply_modifier=False, triangulate=True): |