[Bf-extensions-cvs] [60299fcc] master: PLY: Fix T103203 export with UVs

Mikhail Rachinskiy noreply at git.blender.org
Wed Dec 14 16:24:15 CET 2022


Commit: 60299fcc23b86cee0b79901f0ae78f0695ea3275
Author: Mikhail Rachinskiy
Date:   Wed Dec 14 18:16:38 2022 +0300
Branches: master
https://developer.blender.org/rBA60299fcc23b86cee0b79901f0ae78f0695ea3275

PLY: Fix T103203 export with UVs

Issue was with incomplete id when exporting with UVs.

===================================================================

M	io_mesh_ply/export_ply.py

===================================================================

diff --git a/io_mesh_ply/export_ply.py b/io_mesh_ply/export_ply.py
index b3be770c..086bbae9 100644
--- a/io_mesh_ply/export_ply.py
+++ b/io_mesh_ply/export_ply.py
@@ -78,7 +78,7 @@ def save_mesh(filepath, bm, use_ascii, use_normals, use_uv, use_color):
 
             if use_uv:
                 uv = loop[uv_lay].uv[:]
-                map_id = uv
+                map_id = v, uv
 
             # Identify vertex by pointer unless exporting UVs,
             # in which case id by UV coordinate (will split edges by seams).



More information about the Bf-extensions-cvs mailing list