diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-03-27 12:59:36 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-03-27 12:59:36 +0400 |
commit | 730e2f582f391770dfeedd95e790758afd5c4d53 (patch) | |
tree | 5f6eeccfa96bab265233efe657f169e81ee17a6f /release | |
parent | d334f04ee66c1373eacaf51855454fda6a08bc64 (diff) |
MakeDupliFaces was using mesh.faces which was renamed to mesh.tessfaces.
TODO about porting it to polys is still relevant.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_operators/object.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/object.py b/release/scripts/startup/bl_operators/object.py index 285e16999d0..21411193bfc 100644 --- a/release/scripts/startup/bl_operators/object.py +++ b/release/scripts/startup/bl_operators/object.py @@ -624,10 +624,10 @@ class MakeDupliFace(Operator): mesh = bpy.data.meshes.new(data.name + "_dupli") mesh.vertices.add(len(face_verts) // 3) - mesh.faces.add(len(face_verts) // 12) + mesh.tessfaces.add(len(face_verts) // 12) mesh.vertices.foreach_set("co", face_verts) - mesh.faces.foreach_set("vertices_raw", faces) + mesh.tessfaces.foreach_set("vertices_raw", faces) mesh.update() # generates edge data # pick an object to use |