diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-08-05 04:36:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-08-05 04:36:21 +0300 |
commit | d777821fd6ad33be4c8bdf8dbedb28827f57caa5 (patch) | |
tree | 5c0f93b959042097d82a9f70ec3cef8fe4fc25ce | |
parent | 54c325fd995edf501f2d2929f4e7584a173cf457 (diff) |
Fix T79532: Crash on undo after glTF import
-rwxr-xr-x | io_scene_gltf2/__init__.py | 1 |
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'}) |