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-09-17 23:22:08 +0300
committerJulien Duroure <julien.duroure@gmail.com>2019-09-17 23:22:08 +0300
commitcf2bb9e1256441c6148be79273da6f2116e63018 (patch)
tree671ca33ed60c570671990ac888d41e6593b4542f /io_scene_gltf2/blender/imp/gltf2_blender_image.py
parent87ffe55fd5f704fd981b678f94f3570268025955 (diff)
glTF importer: remove workaround now that T69857 is fixed
Diffstat (limited to 'io_scene_gltf2/blender/imp/gltf2_blender_image.py')
-rwxr-xr-xio_scene_gltf2/blender/imp/gltf2_blender_image.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/io_scene_gltf2/blender/imp/gltf2_blender_image.py b/io_scene_gltf2/blender/imp/gltf2_blender_image.py
index 95824537..546aa7e3 100755
--- a/io_scene_gltf2/blender/imp/gltf2_blender_image.py
+++ b/io_scene_gltf2/blender/imp/gltf2_blender_image.py
@@ -79,7 +79,6 @@ class BlenderImage():
return
blender_image = bpy.data.images.load(path)
- blender_image.reload() # workaround bug in 2.81 alpha
blender_image.name = img_name
blender_image['tex_transform'] = {}
blender_image['tex_transform'][str(tex_index)] = tex_transform
@@ -104,7 +103,6 @@ class BlenderImage():
tmp_image.close()
blender_image = bpy.data.images.load(tmp_image.name)
- blender_image.reload() # workaround bug in 2.81 alpha
blender_image.pack()
blender_image.name = img_name
blender_image['tex_transform'] = {}