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
parent87ffe55fd5f704fd981b678f94f3570268025955 (diff)
glTF importer: remove workaround now that T69857 is fixed
-rwxr-xr-xio_scene_gltf2/__init__.py2
-rwxr-xr-xio_scene_gltf2/blender/imp/gltf2_blender_image.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py
index 48b49ed5..0b7474e7 100755
--- a/io_scene_gltf2/__init__.py
+++ b/io_scene_gltf2/__init__.py
@@ -15,7 +15,7 @@
bl_info = {
'name': 'glTF 2.0 format',
'author': 'Julien Duroure, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen, Jim Eckerlein, and many external contributors',
- "version": (0, 9, 68),
+ "version": (0, 9, 69),
'blender': (2, 81, 6),
'location': 'File > Import-Export',
'description': 'Import-Export as glTF 2.0',
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'] = {}