From d777821fd6ad33be4c8bdf8dbedb28827f57caa5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 5 Aug 2020 11:36:21 +1000 Subject: Fix T79532: Crash on undo after glTF import --- io_scene_gltf2/__init__.py | 1 + 1 file changed, 1 insertion(+) 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'}) -- cgit v1.2.3