From dcfaadf5feb1e6c92a889bf2bb162a8a1f74fcd3 Mon Sep 17 00:00:00 2001 From: Julien Duroure Date: Sun, 2 Dec 2018 08:33:14 +0100 Subject: glTF: fix vertex color import + export option tweaks --- io_scene_gltf2/io/exp/gltf2_io_export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io_scene_gltf2/io') diff --git a/io_scene_gltf2/io/exp/gltf2_io_export.py b/io_scene_gltf2/io/exp/gltf2_io_export.py index 561b2ac1..ebfad744 100755 --- a/io_scene_gltf2/io/exp/gltf2_io_export.py +++ b/io_scene_gltf2/io/exp/gltf2_io_export.py @@ -32,7 +32,7 @@ def save_gltf(glTF, export_settings, encoder, glb_buffer): indent = None separators = separators = (',', ':') - if export_settings['gltf_format'] == 'ASCII' and not export_settings['gltf_strip']: + if export_settings['gltf_format'] == 'ASCII': indent = 4 # The comma is typically followed by a newline, so no trailing whitespace is needed on it. separators = separators = (',', ' : ') -- cgit v1.2.3