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:
authorCampbell Barton <ideasman42@gmail.com>2020-08-05 04:36:21 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-08-05 04:36:21 +0300
commitd777821fd6ad33be4c8bdf8dbedb28827f57caa5 (patch)
tree5c0f93b959042097d82a9f70ec3cef8fe4fc25ce
parent54c325fd995edf501f2d2929f4e7584a173cf457 (diff)
Fix T79532: Crash on undo after glTF import
-rwxr-xr-xio_scene_gltf2/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py
index 70a06504..d911c97f 100755
--- a/io_scene_gltf2/__init__.py
+++ b/io_scene_gltf2/__init__.py
@@ -844,6 +844,7 @@ class ImportGLTF2(Operator, ImportHelper):
"""Load a glTF 2.0 file"""
bl_idname = 'import_scene.gltf'
bl_label = 'Import glTF 2.0'
+ bl_options = {'REGISTER', 'UNDO'}
filter_glob: StringProperty(default="*.glb;*.gltf", options={'HIDDEN'})