Skip to content
Snippets Groups Projects
Commit 429599d6 authored by Julien Duroure's avatar Julien Duroure
Browse files

glTF exporter: option to save export options into blend file

parent 9b904ee2
No related branches found
No related tags found
No related merge requests found
...@@ -255,7 +255,10 @@ class ExportGLTF2_Base: ...@@ -255,7 +255,10 @@ class ExportGLTF2_Base:
default=False 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 # Custom scene property for saving settings
scene_key = "glTF2ExportSettings" scene_key = "glTF2ExportSettings"
...@@ -376,6 +379,7 @@ class ExportGLTF2_Base: ...@@ -376,6 +379,7 @@ class ExportGLTF2_Base:
col.prop(self, 'export_apply') col.prop(self, 'export_apply')
col.prop(self, 'export_yup') col.prop(self, 'export_yup')
col.prop(self, 'export_extras') col.prop(self, 'export_extras')
col.prop(self, 'will_save_settings')
col.prop(self, 'export_copyright') col.prop(self, 'export_copyright')
def draw_mesh_settings(self): def draw_mesh_settings(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment