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 /io_import_scene_mhx.py
parentd08ba14bd217376d868d44ab281c789ae92aece5 (diff)
updates for changes in blenders api
Diffstat (limited to 'io_import_scene_mhx.py')
-rw-r--r--io_import_scene_mhx.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py
index 1c75a493..cf0c178e 100644
--- a/io_import_scene_mhx.py
+++ b/io_import_scene_mhx.py
@@ -1105,13 +1105,13 @@ def parseMesh (args, tokens):
if faces:
#x = me.from_pydata(verts, [], faces)
me.add_geometry(len(verts), 0, len(faces))
- me.verts.foreach_set("co", unpackList(verts))
- me.faces.foreach_set("verts_raw", unpackList(faces))
+ me.vertices.foreach_set("co", unpackList(verts))
+ me.faces.foreach_set("vertices_raw", unpackList(faces))
else:
#x = me.from_pydata(verts, edges, [])
me.add_geometry(len(verts), len(edges), 0)
- me.verts.foreach_set("co", unpackList(verts))
- me.edges.foreach_set("verts", unpackList(edges))
+ me.vertices.foreach_set("co", unpackList(verts))
+ me.edges.foreach_set("vertices", unpackList(edges))
#print(x)
me.update()
#print(me)