diff options
Diffstat (limited to 'add_mesh_BoltFactory/createMesh.py')
-rw-r--r-- | add_mesh_BoltFactory/createMesh.py | 4 |
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 |