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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-18 20:38:17 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-20 09:25:00 +0300
commit58e5857aa78bb1d090c2f2de9ec5b6f39ac084ca (patch)
tree82e429ac63306414aac88886b01d2a6fd234b074 /io_scene_fbx
parentd4935729daa9d84a82c18144e51d4472ba98544f (diff)
Update for removal of image.use_alpha
Diffstat (limited to 'io_scene_fbx')
-rw-r--r--io_scene_fbx/export_fbx_bin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py
index eb29e5b5..ef2c8d54 100644
--- a/io_scene_fbx/export_fbx_bin.py
+++ b/io_scene_fbx/export_fbx_bin.py
@@ -1336,7 +1336,7 @@ def fbx_data_texture_file_elements(root, blender_tex_key, scene_data):
elem_data_single_string_unicode(fbx_tex, b"RelativeFilename", fname_rel)
alpha_source = 0 # None
- if img.use_alpha:
+ if img.alpha_mode != 'IGNORE':
# ~ if tex.texture.use_calculate_alpha:
# ~ alpha_source = 1 # RGBIntensity as alpha.
# ~ else: