diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-01-04 20:37:47 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-01-04 20:37:47 +0400 |
commit | 43b6396c1c426e6ff9d0428c9a70c5e4397434b6 (patch) | |
tree | 4a77406b46160638ba259c7c611273fd44a00507 /io_mesh_uv_layout | |
parent | ce5fb029ba4f7950c6b8b46a2f5624d262795d31 (diff) |
Fix [#33759] Can't use UV image export UV_layout error
Another glitch from recent alpha work. Also modified povray's code. As usual, maintainders of these scripts, please double check changes are ok! :)
Diffstat (limited to 'io_mesh_uv_layout')
-rw-r--r-- | io_mesh_uv_layout/export_uv_png.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_uv_layout/export_uv_png.py b/io_mesh_uv_layout/export_uv_png.py index 423ad33a..1168e335 100644 --- a/io_mesh_uv_layout/export_uv_png.py +++ b/io_mesh_uv_layout/export_uv_png.py @@ -113,7 +113,7 @@ def write(fw, mesh_source, image_width, image_height, opacity, face_iter_func): # scene render settings scene.render.use_raytrace = False - scene.render.alpha_mode = 'STRAIGHT' + scene.render.alpha_mode = 'TRANSPARENT' scene.render.image_settings.color_mode = 'RGBA' scene.render.resolution_x = image_width |