replace operator options bl_undo and bl_register with bl_options

eg.
 bl_options = {'REGISTER', 'UNDO', 'BLOCKING', 'GRAB_POINTER'}

This didnt exist when operators were originally wrapped.
This commit is contained in:
2010-03-01 00:03:51 +00:00
parent c4f5624768
commit fbb8672da4
19 changed files with 49 additions and 69 deletions

View File

@@ -586,8 +586,7 @@ class AddHuman(bpy.types.Operator):
'''Add an advanced human metarig base'''
bl_idname = "object.armature_human_advanced_add"
bl_label = "Add Humanoid (advanced metarig)"
bl_register = True
bl_undo = True
bl_options = {'REGISTER', 'UNDO'}
def execute(self, context):
bpy.ops.object.armature_add()