[Bf-extensions-cvs] [b55002b7] blender2.8: glTF: export settings can now be saved/loaded as presets
Julien Duroure
noreply at git.blender.org
Sat Dec 15 06:23:08 CET 2018
Commit: b55002b7c33154d2b66166aaf0c2a0b287ec9e42
Author: Julien Duroure
Date: Sat Dec 15 06:22:37 2018 +0100
Branches: blender2.8
https://developer.blender.org/rBAb55002b7c33154d2b66166aaf0c2a0b287ec9e42
glTF: export settings can now be saved/loaded as presets
===================================================================
M io_scene_gltf2/__init__.py
===================================================================
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)',
More information about the Bf-extensions-cvs
mailing list