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

@@ -64,8 +64,7 @@ class PlayRenderedAnim(bpy.types.Operator):
'''Plays back rendered frames/movies using an external player.'''
bl_idname = "screen.play_rendered_anim"
bl_label = "Play Rendered Animation"
bl_register = True
bl_undo = False
bl_options = {'REGISTER'}
def execute(self, context):
scene = context.scene