diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-18 07:42:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-18 07:42:53 +0400 |
commit | 5027ccba53daff62acb356afc55fa8f1f7718ab0 (patch) | |
tree | 09b01c6e71c82431293ce8e81970018614bbed23 /object_cloud_gen.py | |
parent | d08ba14bd217376d868d44ab281c789ae92aece5 (diff) |
updates for changes in blenders api
Diffstat (limited to 'object_cloud_gen.py')
-rw-r--r-- | object_cloud_gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/object_cloud_gen.py b/object_cloud_gen.py index 666ddb6b..8e9da71b 100644 --- a/object_cloud_gen.py +++ b/object_cloud_gen.py @@ -64,7 +64,7 @@ def makeObjectIntoBoundBox(object, sizeDifference): bpy.ops.object.mode_set(mode='EDIT') mesh = object.data - verts = mesh.verts + verts = mesh.vertices #Set the max and min verts to the first vertex on the list maxVert = [verts[0].co[0], verts[0].co[1], verts[0].co[2]] |