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:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-09-03 15:11:01 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-09-03 15:11:01 +0400
commit65b46ac588a20699f22a742afab3134abe89715a (patch)
treed17565c6c6bd4b80bbd0a810e0d06202bdee0d32 /io_import_scene_mhx.py
parent0192f3383985d800a1f178ac9b844d3abe2d8158 (diff)
Fix #28446: Moving imported object to new layer deletes it
Adding UNDO flag to import operators. Made this only for trunk addons.
Diffstat (limited to 'io_import_scene_mhx.py')
-rw-r--r--io_import_scene_mhx.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py
index eb31353a..a395de21 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)