glTF exporter: for separated glTF, use tab as indent
This commit is contained in:
parent
fc8bd7d6d4
commit
07157fbb8f
|
@ -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, 5, 19),
|
||||
"version": (3, 5, 20),
|
||||
'blender': (3, 4, 0),
|
||||
'location': 'File > Import-Export',
|
||||
'description': 'Import-Export as glTF 2.0',
|
||||
|
|
|
@ -29,9 +29,10 @@ def save_gltf(gltf, export_settings, encoder, glb_buffer):
|
|||
gltf_format = GlTF_format(None, (',', ':'))
|
||||
|
||||
if export_settings['gltf_format'] != 'GLB':
|
||||
gltf_format.indent = 4
|
||||
gltf_format.indent = "\t"
|
||||
# The comma is typically followed by a newline, so no trailing whitespace is needed on it.
|
||||
gltf_format.separators = (',', ' : ')
|
||||
# No space before and after ':' to save space
|
||||
gltf_format.separators = (',', ':')
|
||||
|
||||
sort_order = [
|
||||
"asset",
|
||||
|
|
Loading…
Reference in New Issue