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:
-rw-r--r--io_import_scene_mhx.py1
-rw-r--r--io_mesh_stl/__init__.py1
-rw-r--r--io_scene_m3/import_m3.py1
3 files changed, 3 insertions, 0 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py
index a395de21..4004977c 100644
--- a/io_import_scene_mhx.py
+++ b/io_import_scene_mhx.py
@@ -3000,6 +3000,7 @@ class ImportMhx(bpy.types.Operator, ImportHelper):
bl_label = "Import MHX"
bl_space_type = "PROPERTIES"
bl_region_type = "WINDOW"
+ bl_options = {'UNDO'}
scale = FloatProperty(name="Scale", description="Default meter, decimeter = 1.0", default = theScale)
enums = []
diff --git a/io_mesh_stl/__init__.py b/io_mesh_stl/__init__.py
index a4669321..9a40de11 100644
--- a/io_mesh_stl/__init__.py
+++ b/io_mesh_stl/__init__.py
@@ -67,6 +67,7 @@ class ImportSTL(bpy.types.Operator, ImportHelper):
'''Load STL triangle mesh data'''
bl_idname = "import_mesh.stl"
bl_label = "Import STL"
+ bl_options = {'UNDO'}
filename_ext = ".stl"
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.