[Bf-extensions-cvs] [7408fc72] blender-v3.4-release: PLY: Fix T103203 export with UVs

Mikhail Rachinskiy noreply at git.blender.org
Fri Dec 16 15:42:16 CET 2022


Commit: 7408fc7283fd98a88db1383f45f5d15680472a7f
Author: Mikhail Rachinskiy
Date:   Wed Dec 14 18:16:38 2022 +0300
Branches: blender-v3.4-release
https://developer.blender.org/rBA7408fc7283fd98a88db1383f45f5d15680472a7f

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