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-06 19:47:42 +0300
committerJulien Duroure <julien.duroure@gmail.com>2019-01-06 19:47:42 +0300
commit6992385fafd07888521d2ea37e59f57bdd10b2dd (patch)
tree35fa427de308648dcf8113091120a55ac3715c67 /io_scene_gltf2/io
parente3b63b9ab06f33f6d1f263dc719d4edf13c7430c (diff)
glTF exporter: better performance for texture export
Diffstat (limited to 'io_scene_gltf2/io')
-rwxr-xr-xio_scene_gltf2/io/exp/gltf2_io_image_data.py2
1 files changed, 1 insertions, 1 deletions
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'')])