diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-03 15:11:01 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-03 15:11:01 +0400 |
commit | 65b46ac588a20699f22a742afab3134abe89715a (patch) | |
tree | d17565c6c6bd4b80bbd0a810e0d06202bdee0d32 /io_import_scene_unreal_psk.py | |
parent | 0192f3383985d800a1f178ac9b844d3abe2d8158 (diff) |
Fix #28446: Moving imported object to new layer deletes it
Adding UNDO flag to import operators. Made this only for trunk addons.
Diffstat (limited to 'io_import_scene_unreal_psk.py')
-rw-r--r-- | io_import_scene_unreal_psk.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/io_import_scene_unreal_psk.py b/io_import_scene_unreal_psk.py index fe4b4e75..d58fc96c 100644 --- a/io_import_scene_unreal_psk.py +++ b/io_import_scene_unreal_psk.py @@ -744,6 +744,7 @@ class IMPORT_OT_psk(bpy.types.Operator): bl_label = "Import PSK" bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" + bl_options = {'UNDO'} # List of operator properties, the attributes will be assigned # to the class instance from the operator settings before calling. |