From 4b72b2631feb99913dddb5df02ae822fbdcbaf73 Mon Sep 17 00:00:00 2001 From: Kalle-Samuli Riihikoski Date: Sat, 3 Sep 2011 11:22:19 +0000 Subject: added undo. --- io_coat3D/coat.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'io_coat3D') 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): -- cgit v1.2.3