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>2018-12-15 08:22:37 +0300
committerJulien Duroure <julien.duroure@gmail.com>2018-12-15 08:22:37 +0300
commitb55002b7c33154d2b66166aaf0c2a0b287ec9e42 (patch)
tree4da39fc1291ad2e092a19d1df290f89046728ec9
parent6ee58734a6e32ed267fadf5714d3e344e1bd4897 (diff)
glTF: export settings can now be saved/loaded as presets
-rwxr-xr-xio_scene_gltf2/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py
index 091b8233..e27ec443 100755
--- a/io_scene_gltf2/__init__.py
+++ b/io_scene_gltf2/__init__.py
@@ -57,6 +57,8 @@ class ExportGLTF2_Base:
# TODO: refactor to avoid boilerplate
+ bl_options = {'UNDO', 'PRESET'}
+
export_format: EnumProperty(
name='Format',
items=(('GLB', 'glTF Binary (.glb)',