Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-09-03 15:11:01 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-09-03 15:11:01 +0400
commit65b46ac588a20699f22a742afab3134abe89715a (patch)
treed17565c6c6bd4b80bbd0a810e0d06202bdee0d32 /io_scene_x3d/__init__.py
parent0192f3383985d800a1f178ac9b844d3abe2d8158 (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_x3d/__init__.py')
-rw-r--r--io_scene_x3d/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_x3d/__init__.py b/io_scene_x3d/__init__.py
index 05c7a6af..d859dc69 100644
--- a/io_scene_x3d/__init__.py
+++ b/io_scene_x3d/__init__.py
@@ -57,7 +57,7 @@ class ImportX3D(bpy.types.Operator, ImportHelper):
'''Import and X3D or VRML file'''
bl_idname = "import_scene.x3d"
bl_label = "Import X3D/VRML"
- bl_options = {'PRESET'}
+ bl_options = {'PRESET', 'UNDO'}
filename_ext = ".x3d"
filter_glob = StringProperty(default="*.x3d;*.wrl", options={'HIDDEN'})