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 /object_cloud_gen.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 'object_cloud_gen.py')
-rw-r--r-- | object_cloud_gen.py | 4 |
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 |