diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2019-04-16 23:54:49 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2019-04-16 23:54:49 +0300 |
commit | 0c171ba279126e3637510c5f7f5ab91164806891 (patch) | |
tree | 22e516345f7eb2054dde3ed2d8fcdd1be99b16b6 /io_scene_gltf2/blender | |
parent | bc1ac160b3ba1ae6dee30219563262dbb5654ec7 (diff) |
glTF exporter: fix texture image export
Diffstat (limited to 'io_scene_gltf2/blender')
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_gather_image.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_image.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_image.py index 331636de..dbee622e 100755 --- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_image.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_image.py @@ -209,5 +209,5 @@ def __get_texname_from_slot(sockets_or_slots, export_settings): return node.shader_node.image.name elif isinstance(sockets_or_slots[0], bpy.types.MaterialTextureSlot): - return sockets_or_slots[0].name + return sockets_or_slots[0].texture.image.name |