diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2022-04-22 22:17:52 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2022-04-22 22:17:52 +0300 |
commit | adf10c631570801e5434b29b1cc5f691d37db6da (patch) | |
tree | 1cf630c1bdd59b24437b2967084828f33478550d /io_scene_gltf2/blender/exp/gltf2_blender_gather_texture.py | |
parent | a0ce684afe3ef7c37599941d1c3d1f46ca967e61 (diff) |
glTF exporter: No texture export when original can't be retrieved
Diffstat (limited to 'io_scene_gltf2/blender/exp/gltf2_blender_gather_texture.py')
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_gather_texture.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_texture.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_texture.py index 0761b19c..e8c6baf1 100755 --- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_texture.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_texture.py @@ -37,6 +37,7 @@ def gather_texture( ) # although valid, most viewers can't handle missing source properties + # This can have None source for "keep original", when original can't be found if texture.source is None: return None |