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>2010-08-18 07:42:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-18 07:42:53 +0400
commit5027ccba53daff62acb356afc55fa8f1f7718ab0 (patch)
tree09b01c6e71c82431293ce8e81970018614bbed23 /add_mesh_BoltFactory
parentd08ba14bd217376d868d44ab281c789ae92aece5 (diff)
updates for changes in blenders api
Diffstat (limited to 'add_mesh_BoltFactory')
-rw-r--r--add_mesh_BoltFactory/createMesh.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/add_mesh_BoltFactory/createMesh.py b/add_mesh_BoltFactory/createMesh.py
index 278d4ee2..86c1b40d 100644
--- a/add_mesh_BoltFactory/createMesh.py
+++ b/add_mesh_BoltFactory/createMesh.py
@@ -2035,8 +2035,8 @@ def Create_New_Mesh(props, context, align_matrix):
mesh = bpy.data.meshes.new(sMeshName)
mesh.add_geometry((len(verts)), 0, int(len(faces)))
- mesh.verts.foreach_set("co", unpack_list(verts))
- mesh.faces.foreach_set("verts_raw", unpack_face_list(faces))
+ mesh.vertices.foreach_set("co", unpack_list(verts))
+ mesh.faces.foreach_set("vertices_raw", unpack_face_list(faces))
scene = context.scene