From fe45d789d860ee6d59f5b973d7832237d6d0d269 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 7 Feb 2011 08:16:01 +0000 Subject: rename id.update() to update_tag() --- object_cloud_gen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'object_cloud_gen.py') 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 -- cgit v1.2.3