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:
authorKalle-Samuli Riihikoski <haikalle@gmail.com>2011-09-03 15:22:19 +0400
committerKalle-Samuli Riihikoski <haikalle@gmail.com>2011-09-03 15:22:19 +0400
commit4b72b2631feb99913dddb5df02ae822fbdcbaf73 (patch)
treee07143ea60741abaa6f922962ae5f1fd182bd1ca /io_coat3D
parent65b46ac588a20699f22a742afab3134abe89715a (diff)
added undo.
Diffstat (limited to 'io_coat3D')
-rw-r--r--io_coat3D/coat.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/io_coat3D/coat.py b/io_coat3D/coat.py
index 4fb91d56..60ac8599 100644
--- a/io_coat3D/coat.py
+++ b/io_coat3D/coat.py
@@ -197,6 +197,7 @@ class SCENE_OT_export(bpy.types.Operator):
bl_idname = "export_applink.pilgway_3d_coat"
bl_label = "Export your custom property"
bl_description = "Export your custom property"
+ bl_options = {'UNDO'}
def invoke(self, context, event):
@@ -270,6 +271,7 @@ class SCENE_OT_import(bpy.types.Operator):
bl_idname = "import_applink.pilgway_3d_coat"
bl_label = "import your custom property"
bl_description = "import your custom property"
+ bl_options = {'UNDO'}
def invoke(self, context, event):
scene = context.scene
@@ -389,6 +391,7 @@ class SCENE_OT_import3b(bpy.types.Operator):
bl_idname = "import3b_applink.pilgway_3d_coat"
bl_label = "Brings mesh from 3D-Coat"
bl_description = "Bring 3D-Coat Mesh"
+ bl_options = {'UNDO'}
def invoke(self, context, event):