diff --git a/io_convert_image_to_mesh_img/__init__.py b/io_convert_image_to_mesh_img/__init__.py index e3309617ab319190410a4399d4dcac56adbd0ce6..99021bcd82bb67e75a4e7662fb8a83fc3deeac65 100644 --- a/io_convert_image_to_mesh_img/__init__.py +++ b/io_convert_image_to_mesh_img/__init__.py @@ -57,6 +57,7 @@ class ImportHiRISEIMGDTM(bpy.types.Operator, ImportHelper): '''Import a HiRISE DTM formatted as a PDS IMG file''' bl_idname = "import_shape.img" bl_label = "Import HiRISE DTM from PDS IMG" + bl_options = {'UNDO'} filename_ext = ".IMG" filter_glob = StringProperty(default="*.IMG", options={'HIDDEN'}) diff --git a/io_curve_svg/__init__.py b/io_curve_svg/__init__.py index 82982e76f114ee65356214e2d362ace4e2930b78..151fd2eb2fda96b4e4c92a90b05389b31c1edbe9 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'}) diff --git a/io_import_scene_dxf.py b/io_import_scene_dxf.py index 72bc967ed9119536984b4a5a5619c309e2e22250..4f7345fd8b98ee44f6dc8e030eb7f717f647ca6d 100644 --- a/io_import_scene_dxf.py +++ b/io_import_scene_dxf.py @@ -2424,6 +2424,7 @@ class IMPORT_OT_autocad_dxf(bpy.types.Operator): bl_label = "Import DXF" +' v.'+ __version__ bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" + bl_options = {'UNDO'} filepath = StringProperty( name="File Path", diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py index eb31353a7786a52b2a3601b36c1eccb0f7fccca6..a395de215e991b2cf57c15d6ef64e4d64be54630 100644 --- a/io_import_scene_mhx.py +++ b/io_import_scene_mhx.py @@ -2883,6 +2883,7 @@ def copyConstraint(cns1, pb1, pb2, mhx, rigify): class OBJECT_OT_RigifyMhxButton(bpy.types.Operator): bl_idname = "mhxrig.rigify_mhx" bl_label = "Rigify MHX rig" + bl_options = {'UNDO'} def execute(self, context): rigifyMhx(context, context.object.name) diff --git a/io_import_scene_unreal_psk.py b/io_import_scene_unreal_psk.py index fe4b4e754d982f832f9e96d3b09155364346c267..d58fc96cb8e66605288e536fb31f90acba770756 100644 --- a/io_import_scene_unreal_psk.py +++ b/io_import_scene_unreal_psk.py @@ -744,6 +744,7 @@ class IMPORT_OT_psk(bpy.types.Operator): bl_label = "Import PSK" bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" + bl_options = {'UNDO'} # List of operator properties, the attributes will be assigned # to the class instance from the operator settings before calling. diff --git a/io_mesh_ply/__init__.py b/io_mesh_ply/__init__.py index 17449a4a46805f28acde48ae520122b7a550a355..ab245ed76d76166a71ba002f4db82ed4f8c405b3 100644 --- a/io_mesh_ply/__init__.py +++ b/io_mesh_ply/__init__.py @@ -52,6 +52,7 @@ class ImportPLY(bpy.types.Operator, ImportHelper): '''Load a PLY geometry file''' bl_idname = "import_mesh.ply" bl_label = "Import PLY" + bl_options = {'UNDO'} files = CollectionProperty(name="File Path", description="File path used for importing " diff --git a/io_mesh_raw/__init__.py b/io_mesh_raw/__init__.py index 76257f98f0b2d70c3feb6591be1568b0e384ede0..70780b36e4675c342f0fbb30b084dde6e07dcebc 100644 --- a/io_mesh_raw/__init__.py +++ b/io_mesh_raw/__init__.py @@ -50,6 +50,7 @@ class RawImporter(bpy.types.Operator): '''Load Raw triangle mesh data''' bl_idname = "import_mesh.raw" bl_label = "Import RAW" + bl_options = {'UNDO'} filepath = StringProperty(name="File Path", description="Filepath used for importing the RAW file", maxlen=1024, default="", subtype='FILE_PATH') filter_glob = StringProperty(default="*.raw", options={'HIDDEN'}) diff --git a/io_scene_3ds/__init__.py b/io_scene_3ds/__init__.py index 54015cc183e59a1a5c73284f7f1f13f383c4e2b7..52289c37ba2bb77e1ca27cb1b835b7b6c214c55a 100644 --- a/io_scene_3ds/__init__.py +++ b/io_scene_3ds/__init__.py @@ -54,6 +54,7 @@ class Import3DS(bpy.types.Operator, ImportHelper): '''Import from 3DS file format (.3ds)''' bl_idname = "import_scene.autodesk_3ds" bl_label = 'Import 3DS' + bl_options = {'UNDO'} filename_ext = ".3ds" filter_glob = StringProperty(default="*.3ds", options={'HIDDEN'}) diff --git a/io_scene_m3/__init__.py b/io_scene_m3/__init__.py index d3501c87ce589133f8961fa9de5aa06f5a19d552..2fd2b2989450ee65e26f52678a1b81b834585664 100644 --- a/io_scene_m3/__init__.py +++ b/io_scene_m3/__init__.py @@ -54,6 +54,7 @@ class ImportM3(bpy.types.Operator, ImportHelper): '''Import from M3 file format (.m3)''' bl_idname = 'import_scene.blizzard_m3' bl_label = 'Import M3' + bl_options = {'UNDO'} filename_ext = '.m3' filter_glob = StringProperty(default='*.m3', options={'HIDDEN'}) diff --git a/io_scene_obj/__init__.py b/io_scene_obj/__init__.py index 55a11b6bc861889173d07437c07106cf08a69112..2ea405c7d2b9f9c249b55d496d4cd9b2b37a7bba 100644 --- a/io_scene_obj/__init__.py +++ b/io_scene_obj/__init__.py @@ -58,7 +58,7 @@ class ImportOBJ(bpy.types.Operator, ImportHelper): '''Load a Wavefront OBJ File''' bl_idname = "import_scene.obj" bl_label = "Import OBJ" - bl_options = {'PRESET'} + bl_options = {'PRESET', 'UNDO'} filename_ext = ".obj" filter_glob = StringProperty( diff --git a/io_scene_x3d/__init__.py b/io_scene_x3d/__init__.py index 05c7a6af8ef81c998db58e32d33f326d87243062..d859dc69975bf72c8bffa350aeb6acc4f1f2ec6c 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'}) diff --git a/io_shape_mdd/__init__.py b/io_shape_mdd/__init__.py index e7eea70a1cc1b1cf9b89dc3bd6deb95eb08c9a5b..e7340750ce9475da68d22ad96aa32a8e7fd8cf3c 100644 --- a/io_shape_mdd/__init__.py +++ b/io_shape_mdd/__init__.py @@ -49,6 +49,7 @@ class ImportMDD(bpy.types.Operator, ImportHelper): '''Import MDD vertex keyframe file to shape keys''' bl_idname = "import_shape.mdd" bl_label = "Import MDD" + bl_options = {'UNDO'} filename_ext = ".mdd"