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