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_scene_m3 | |
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_scene_m3')
-rw-r--r-- | io_scene_m3/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/io_scene_m3/__init__.py b/io_scene_m3/__init__.py index d3501c87..2fd2b298 100644 --- a/io_scene_m3/__init__.py +++ b/io_scene_m3/__init__.py @@ -54,6 +54,7 @@ class ImportM3(bpy.types.Operator, ImportHelper): '''Import from M3 file format (.m3)''' bl_idname = 'import_scene.blizzard_m3' bl_label = 'Import M3' + bl_options = {'UNDO'} filename_ext = '.m3' filter_glob = StringProperty(default='*.m3', options={'HIDDEN'}) |