diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2019-03-23 12:01:09 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2019-03-23 12:01:09 +0300 |
commit | 5371d6eadeafa35be8bc4f81057c3c4bfaf6d0d9 (patch) | |
tree | a6c0a337b3ffd324344858e3282a7af380e5093d /io_scene_gltf2/io | |
parent | e16c6704b32741c510bb05993b7edf77d4a77b57 (diff) |
glTF exporter: support empty images
Diffstat (limited to 'io_scene_gltf2/io')
-rwxr-xr-x | io_scene_gltf2/io/com/gltf2_io.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_gltf2/io/com/gltf2_io.py b/io_scene_gltf2/io/com/gltf2_io.py index 1332adf6..1208c06a 100755 --- a/io_scene_gltf2/io/com/gltf2_io.py +++ b/io_scene_gltf2/io/com/gltf2_io.py @@ -1104,7 +1104,7 @@ class Texture: result["extras"] = self.extras result["name"] = from_union([from_str, from_none], self.name) result["sampler"] = from_union([from_int, from_none], self.sampler) - result["source"] = from_int(self.source) + result["source"] = from_int(self.source) # most viewers can't handle missing sources return result |