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:31:10 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-09-03 15:31:10 +0400
commita09b0fea14bf6aa8d03cd32ef8d354dda9bed2e8 (patch)
tree5e82c4edbf95b44b85382de35aa3f19bb90a9271 /io_scene_m3
parent4b72b2631feb99913dddb5df02ae822fbdcbaf73 (diff)
Some more UNDO pushes for import operators.
Forgot to modify this files in recent commit.
Diffstat (limited to 'io_scene_m3')
-rw-r--r--io_scene_m3/import_m3.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/io_scene_m3/import_m3.py b/io_scene_m3/import_m3.py
index 7a7678e8..a6f48cd4 100644
--- a/io_scene_m3/import_m3.py
+++ b/io_scene_m3/import_m3.py
@@ -341,6 +341,7 @@ class M3Importer(bpy.types.Operator):
'''Import from M3 file format (.m3)'''
bl_idname = "import_mesh.blizzard_m3"
bl_label = 'Import M3'
+ bl_options = {'UNDO'}
# List of operator properties, the attributes will be assigned
# to the class instance from the operator settings before calling.