glTF exporter: option to save export options into blend file

This commit is contained in:
Julien Duroure 2019-01-31 22:29:50 +01:00
parent 9b904ee25d
commit 429599d668
1 changed files with 5 additions and 1 deletions

View File

@ -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):