Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-25 02:47:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-25 02:47:14 +0300
commitcaf0c86b45f088a942641980fd10238f80a67f0a (patch)
tree37c73fc1c4c9e4d5cd6fde8b7b34f2dbe7d2f6d1 /io_mesh_ply
parentada8216dc6b937b72440507b1b14acac93ddde7a (diff)
PLY: Export alpha channel for vertex colors
Diffstat (limited to 'io_mesh_ply')
-rw-r--r--io_mesh_ply/export_ply.py2
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