diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2019-01-06 19:47:42 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2019-01-06 19:47:42 +0300 |
commit | 6992385fafd07888521d2ea37e59f57bdd10b2dd (patch) | |
tree | 35fa427de308648dcf8113091120a55ac3715c67 | |
parent | e3b63b9ab06f33f6d1f263dc719d4edf13c7430c (diff) |
glTF exporter: better performance for texture export
-rwxr-xr-x | io_scene_gltf2/__init__.py | 2 | ||||
-rwxr-xr-x | io_scene_gltf2/io/exp/gltf2_io_image_data.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py index 0318919a..c01a3e81 100755 --- a/io_scene_gltf2/__init__.py +++ b/io_scene_gltf2/__init__.py @@ -36,7 +36,7 @@ from bpy.props import (CollectionProperty, bl_info = { 'name': 'glTF 2.0 format', - 'author': 'Julien Duroure, Norbert Nopper, Urs Hanselmann Moritz Becher, Benjamin Schmithüsen', + 'author': 'Julien Duroure, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen', "version": (0, 0, 1), 'blender': (2, 80, 0), 'location': 'File > Import-Export', diff --git a/io_scene_gltf2/io/exp/gltf2_io_image_data.py b/io_scene_gltf2/io/exp/gltf2_io_image_data.py index fb6ecb2a..090a5264 100755 --- a/io_scene_gltf2/io/exp/gltf2_io_image_data.py +++ b/io_scene_gltf2/io/exp/gltf2_io_image_data.py @@ -132,6 +132,6 @@ class ImageData: return b"".join([ b'\x89PNG\r\n\x1a\n', png_pack(b'IHDR', struct.pack("!2I5B", self.width, self.height, 8, 6, 0, 0, 0)), - png_pack(b'IDAT', zlib.compress(raw_data, 9)), + png_pack(b'IDAT', zlib.compress(raw_data)), png_pack(b'IEND', b'')]) |