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:
authorCampbell Barton <ideasman42@gmail.com>2011-02-09 00:36:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-09 00:36:44 +0300
commitc05f4813b650b8b4d45c172c549947e562bf71aa (patch)
tree6f9a4887882a35da09fe6998bbcb318426cb4877 /mesh_surface_sketch.py
parentcf8e2d201c86bfd6e8dc5817c8b6748787fd2182 (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 'mesh_surface_sketch.py')
-rw-r--r--mesh_surface_sketch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh_surface_sketch.py b/mesh_surface_sketch.py
index 35a0e391..df6f9f7f 100644
--- a/mesh_surface_sketch.py
+++ b/mesh_surface_sketch.py
@@ -701,7 +701,7 @@ class GPENCIL_OT_surfsk_surface_add(bpy.types.Operator):
me_surf.from_pydata(all_surface_verts_co, [], all_surface_faces)
- me_surf.update_tag()
+ me_surf.update()
ob_surface = bpy.data.objects.new(surf_me_name, me_surf)
bpy.context.scene.objects.link(ob_surface)