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_curve_svg | |
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_curve_svg')
-rw-r--r-- | io_curve_svg/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/io_curve_svg/__init__.py b/io_curve_svg/__init__.py index 82982e76..151fd2eb 100644 --- a/io_curve_svg/__init__.py +++ b/io_curve_svg/__init__.py @@ -50,6 +50,7 @@ class ImportSVG(bpy.types.Operator, ImportHelper): '''Load a SVG file''' bl_idname = "import_curve.svg" bl_label = "Import SVG" + bl_options = {'UNDO'} filename_ext = ".svg" filter_glob = StringProperty(default="*.svg", options={'HIDDEN'}) |