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:
Diffstat (limited to 'io_mesh_raw/import_raw.py')
-rw-r--r--io_mesh_raw/import_raw.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_mesh_raw/import_raw.py b/io_mesh_raw/import_raw.py
index 6a9b3eb7..e8a7a4a7 100644
--- a/io_mesh_raw/import_raw.py
+++ b/io_mesh_raw/import_raw.py
@@ -91,8 +91,8 @@ def readMesh(filename, objName):
mesh = bpy.data.meshes.new(objName)
mesh.add_geometry(int(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))
return mesh