diff options
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 2ff14522..bf213b78 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() + mesh.update_tag() 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() + meshPnts.update_tag() def combineObjects(scene, combined, listobjs): # scene is the current scene |