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:
authorDalai Felinto <dfelinto@gmail.com>2012-03-15 20:24:45 +0400
committerDalai Felinto <dfelinto@gmail.com>2012-03-15 20:24:45 +0400
commit3e41f9e194e5a39ed8b072b3584b791af19e3721 (patch)
tree395924edbde0ddac3610f6d5843cc9880146240c /io_mesh_ply/import_ply.py
parent6b28346a0e6e8311049e0ac0699000de489a7596 (diff)
bmesh fix for ply i/o addon - using tessface_
Diffstat (limited to 'io_mesh_ply/import_ply.py')
-rw-r--r--io_mesh_ply/import_ply.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_mesh_ply/import_ply.py b/io_mesh_ply/import_ply.py
index e2e730b6..5825186f 100644
--- a/io_mesh_ply/import_ply.py
+++ b/io_mesh_ply/import_ply.py
@@ -296,9 +296,9 @@ def load_ply(filepath):
if uvindices or colindices:
if uvindices:
- uvlay = mesh.uv_textures.new()
+ uvlay = mesh.tessface_uv_textures.new()
if colindices:
- vcol_lay = mesh.vertex_colors.new()
+ vcol_lay = mesh.tessface_vertex_colors.new()
if uvindices:
for i, f in enumerate(uvlay.data):