diff options
Diffstat (limited to 'io_mesh_ply/export_ply.py')
-rw-r--r-- | io_mesh_ply/export_ply.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/io_mesh_ply/export_ply.py b/io_mesh_ply/export_ply.py index 60d9b7ea..4e67b0c9 100644 --- a/io_mesh_ply/export_ply.py +++ b/io_mesh_ply/export_ply.py @@ -70,16 +70,15 @@ def save(operator, mesh.calc_tessface() has_uv = (len(mesh.tessface_uv_textures) > 0) - has_uv_vertex = (len(mesh.sticky) > 0) has_vcol = len(mesh.tessface_vertex_colors) > 0 - if (not has_uv) and (not has_uv_vertex): + if not has_uv: use_uv_coords = False if not has_vcol: use_colors = False if not use_uv_coords: - has_uv = has_uv_vertex = False + has_uv = False if not use_colors: has_vcol = False @@ -135,9 +134,6 @@ def save(operator, if has_uv: uvcoord = uv[j][0], uv[j][1] uvcoord_key = rvec2d(uvcoord) - elif has_uv_vertex: - uvcoord = v.uvco[0], v.uvco[1] - uvcoord_key = rvec2d(uvcoord) if has_vcol: color = col[j] |