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:
authorJulien Duroure <julien.duroure@gmail.com>2019-01-23 23:08:22 +0300
committerJulien Duroure <julien.duroure@gmail.com>2019-01-23 23:08:49 +0300
commitacf3bcb5b5c763edb83f511ecf7873a04ae23f96 (patch)
tree06e50fb7201d169cc313f7bf9fe02b98d9dad06e /io_scene_gltf2/io/imp/gltf2_io_binary.py
parent49c1b409286937d00a63fbf4cfb1f820a75a80c0 (diff)
glTF importer: fix bug when texture file is not found
Diffstat (limited to 'io_scene_gltf2/io/imp/gltf2_io_binary.py')
-rwxr-xr-xio_scene_gltf2/io/imp/gltf2_io_binary.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_gltf2/io/imp/gltf2_io_binary.py b/io_scene_gltf2/io/imp/gltf2_io_binary.py
index 9bf04fa5..7a5dd13d 100755
--- a/io_scene_gltf2/io/imp/gltf2_io_binary.py
+++ b/io_scene_gltf2/io/imp/gltf2_io_binary.py
@@ -163,7 +163,7 @@ class BinaryData():
with open(join(dirname(gltf.filename), pyimage.uri), 'rb') as f_:
return f_.read(), basename(join(dirname(gltf.filename), pyimage.uri))
else:
- pyimage.gltf.log.error("Missing file (index " + str(img_idx) + "): " + pyimage.uri)
+ gltf.log.error("Missing file (index " + str(img_idx) + "): " + pyimage.uri)
return None, None
if pyimage.buffer_view is None: