diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2022-03-13 13:32:48 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2022-03-13 13:32:48 +0300 |
commit | 8653db3808888a79bd83b92e33d314bbb9d873c2 (patch) | |
tree | dda8c80cafa3b173aaea8e1c9ffd8bad7522f89a /io_scene_gltf2/__init__.py | |
parent | 43477e00ce44cf561a38365d35c769010392c102 (diff) |
glTF exporter: add a hook for user extension to change json encoding
This allows user to use no indent in json, for example
Here is an example of hook:
```
def gather_gltf_encoded_hook(self, gltf_format, sort_order, export_settings):
gltf_format.indent = None
gltf_format.separators = (',', ':')
```
Diffstat (limited to 'io_scene_gltf2/__init__.py')
-rwxr-xr-x | io_scene_gltf2/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py index 369090e5..b87af39a 100755 --- a/io_scene_gltf2/__init__.py +++ b/io_scene_gltf2/__init__.py @@ -4,7 +4,7 @@ bl_info = { 'name': 'glTF 2.0 format', 'author': 'Julien Duroure, Scurest, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen, Jim Eckerlein, and many external contributors', - "version": (3, 2, 12), + "version": (3, 2, 13), 'blender': (3, 1, 0), 'location': 'File > Import-Export', 'description': 'Import-Export as glTF 2.0', |