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 /object_cloud_gen.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 'object_cloud_gen.py')
-rw-r--r--object_cloud_gen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/object_cloud_gen.py b/object_cloud_gen.py
index bf213b78..2ff14522 100644
--- a/object_cloud_gen.py
+++ b/object_cloud_gen.py
@@ -163,7 +163,7 @@ def makeObjectIntoBoundBox(scene, object, sizeDifference, takeFromObject):
mesh.from_pydata(addVerts, [], addFaces)
# Update the mesh
- mesh.update_tag()
+ mesh.update()
def applyScaleRotLoc(scene, obj):
# Deselect All
@@ -261,7 +261,7 @@ def convertParticlesToMesh(scene, particlesobj, destobj, replacemesh):
meshPnts.from_pydata(listMeshPnts, [], [])
# Update the mesh.
- meshPnts.update_tag()
+ meshPnts.update()
def combineObjects(scene, combined, listobjs):
# scene is the current scene