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_obj | |
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_obj')
-rw-r--r-- | io_scene_obj/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_obj/__init__.py b/io_scene_obj/__init__.py index 55a11b6b..2ea405c7 100644 --- a/io_scene_obj/__init__.py +++ b/io_scene_obj/__init__.py @@ -58,7 +58,7 @@ class ImportOBJ(bpy.types.Operator, ImportHelper): '''Load a Wavefront OBJ File''' bl_idname = "import_scene.obj" bl_label = "Import OBJ" - bl_options = {'PRESET'} + bl_options = {'PRESET', 'UNDO'} filename_ext = ".obj" filter_glob = StringProperty( |