[Bf-extensions-cvs] [429599d6] master: glTF exporter: option to save export options into blend file

Julien Duroure noreply at git.blender.org
Thu Jan 31 22:30:38 CET 2019


Commit: 429599d668d6f9b40208d7ad4d16b35ce0fe172d
Author: Julien Duroure
Date:   Thu Jan 31 22:29:50 2019 +0100
Branches: master
https://developer.blender.org/rBA429599d668d6f9b40208d7ad4d16b35ce0fe172d

glTF exporter: option to save export options into blend file

===================================================================

M	io_scene_gltf2/__init__.py

===================================================================

diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py
index 0f44e327..9ce4bd55 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):



More information about the Bf-extensions-cvs mailing list