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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user