Skip to content
Snippets Groups Projects
Commit a09b0fea authored by Sergey Sharybin's avatar Sergey Sharybin
Browse files

Some more UNDO pushes for import operators.

Forgot to modify this files in recent commit.
parent 4b72b263
No related branches found
No related tags found
No related merge requests found
...@@ -3000,6 +3000,7 @@ class ImportMhx(bpy.types.Operator, ImportHelper): ...@@ -3000,6 +3000,7 @@ class ImportMhx(bpy.types.Operator, ImportHelper):
bl_label = "Import MHX" bl_label = "Import MHX"
bl_space_type = "PROPERTIES" bl_space_type = "PROPERTIES"
bl_region_type = "WINDOW" bl_region_type = "WINDOW"
bl_options = {'UNDO'}
scale = FloatProperty(name="Scale", description="Default meter, decimeter = 1.0", default = theScale) scale = FloatProperty(name="Scale", description="Default meter, decimeter = 1.0", default = theScale)
enums = [] enums = []
......
...@@ -67,6 +67,7 @@ class ImportSTL(bpy.types.Operator, ImportHelper): ...@@ -67,6 +67,7 @@ class ImportSTL(bpy.types.Operator, ImportHelper):
'''Load STL triangle mesh data''' '''Load STL triangle mesh data'''
bl_idname = "import_mesh.stl" bl_idname = "import_mesh.stl"
bl_label = "Import STL" bl_label = "Import STL"
bl_options = {'UNDO'}
filename_ext = ".stl" filename_ext = ".stl"
......
...@@ -341,6 +341,7 @@ class M3Importer(bpy.types.Operator): ...@@ -341,6 +341,7 @@ class M3Importer(bpy.types.Operator):
'''Import from M3 file format (.m3)''' '''Import from M3 file format (.m3)'''
bl_idname = "import_mesh.blizzard_m3" bl_idname = "import_mesh.blizzard_m3"
bl_label = 'Import M3' bl_label = 'Import M3'
bl_options = {'UNDO'}
# List of operator properties, the attributes will be assigned # List of operator properties, the attributes will be assigned
# to the class instance from the operator settings before calling. # to the class instance from the operator settings before calling.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment