From caf0c86b45f088a942641980fd10238f80a67f0a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 25 Jan 2019 10:47:14 +1100 Subject: PLY: Export alpha channel for vertex colors --- io_mesh_ply/export_ply.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io_mesh_ply') diff --git a/io_mesh_ply/export_ply.py b/io_mesh_ply/export_ply.py index b50b6544..942fbce1 100644 --- a/io_mesh_ply/export_ply.py +++ b/io_mesh_ply/export_ply.py @@ -115,7 +115,7 @@ def save_mesh(filepath, color = (int(color[0] * 255.0), int(color[1] * 255.0), int(color[2] * 255.0), - 255 + int(color[3] * 255.0), ) key = normal_key, uvcoord_key, color -- cgit v1.2.3