From 429599d668d6f9b40208d7ad4d16b35ce0fe172d Mon Sep 17 00:00:00 2001
From: Julien Duroure <julien.duroure@gmail.com>
Date: Thu, 31 Jan 2019 22:29:50 +0100
Subject: [PATCH] glTF exporter: option to save export options into blend file

---
 io_scene_gltf2/__init__.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py
index 0f44e3277..9ce4bd55e 100755
--- a/io_scene_gltf2/__init__.py
+++ b/io_scene_gltf2/__init__.py
@@ -255,7 +255,10 @@ class ExportGLTF2_Base:
         default=False
     )
 
-    will_save_settings: BoolProperty(default=False)
+    will_save_settings: BoolProperty(
+        name='Remember Export Settings',
+        description='Store glTF export settings in the Blender project',
+        default=False)
 
     # Custom scene property for saving settings
     scene_key = "glTF2ExportSettings"
@@ -376,6 +379,7 @@ class ExportGLTF2_Base:
         col.prop(self, 'export_apply')
         col.prop(self, 'export_yup')
         col.prop(self, 'export_extras')
+        col.prop(self, 'will_save_settings')
         col.prop(self, 'export_copyright')
 
     def draw_mesh_settings(self):
-- 
GitLab