diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-25 02:47:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-25 02:47:14 +0300 |
commit | caf0c86b45f088a942641980fd10238f80a67f0a (patch) | |
tree | 37c73fc1c4c9e4d5cd6fde8b7b34f2dbe7d2f6d1 /io_mesh_ply | |
parent | ada8216dc6b937b72440507b1b14acac93ddde7a (diff) |
PLY: Export alpha channel for vertex colors
Diffstat (limited to 'io_mesh_ply')
-rw-r--r-- | io_mesh_ply/export_ply.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |