Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Duroure <julien.duroure@gmail.com>2019-02-01 00:29:50 +0300
committerJulien Duroure <julien.duroure@gmail.com>2019-02-01 00:29:50 +0300
commit429599d668d6f9b40208d7ad4d16b35ce0fe172d (patch)
tree04ec06de837092ebf8fafe21ac7f788f27de77f6 /io_scene_gltf2
parent9b904ee25df87abf5e7292f8cc8eaae4a464db60 (diff)
glTF exporter: option to save export options into blend file
Diffstat (limited to 'io_scene_gltf2')
-rwxr-xr-xio_scene_gltf2/__init__.py6
1 files changed, 5 insertions, 1 deletions
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):