def play_pressed(): if editorstate.current_is_active_trim_mode( ) and trimmodes.submode != trimmodes.NOTHING_ON: return if current_is_move_mode(): movemodes.play_pressed() elif EDIT_MODE() == editorstate.ONE_ROLL_TRIM: trimmodes.oneroll_play_pressed() elif EDIT_MODE() == editorstate.ONE_ROLL_TRIM_NO_EDIT: movemodes.play_pressed() elif EDIT_MODE() == editorstate.TWO_ROLL_TRIM: trimmodes.tworoll_play_pressed() elif EDIT_MODE() == editorstate.TWO_ROLL_TRIM_NO_EDIT: movemodes.play_pressed() elif EDIT_MODE() == editorstate.SLIDE_TRIM: trimmodes.slide_play_pressed() elif EDIT_MODE() == editorstate.SLIDE_TRIM_NO_EDIT: movemodes.play_pressed() elif EDIT_MODE() == editorstate.KF_TOOL: movemodes.play_pressed() elif EDIT_MODE() == editorstate.MULTI_TRIM: movemodes.play_pressed() elif EDIT_MODE() == editorstate.CUT: movemodes.play_pressed()
def play_pressed(): if current_is_move_mode(): movemodes.play_pressed() elif EDIT_MODE() == editorstate.ONE_ROLL_TRIM: trimmodes.oneroll_play_pressed() elif EDIT_MODE() == editorstate.ONE_ROLL_TRIM_NO_EDIT: movemodes.play_pressed() elif EDIT_MODE() == editorstate.TWO_ROLL_TRIM: trimmodes.tworoll_play_pressed() elif EDIT_MODE() == editorstate.TWO_ROLL_TRIM_NO_EDIT: movemodes.play_pressed() elif EDIT_MODE() == editorstate.SLIDE_TRIM: trimmodes.slide_play_pressed() elif EDIT_MODE() == editorstate.SLIDE_TRIM_NO_EDIT: movemodes.play_pressed()
def play_pressed(): if editorstate.current_is_active_trim_mode() and trimmodes.submode != trimmodes.NOTHING_ON: return if current_is_move_mode(): movemodes.play_pressed() elif EDIT_MODE() == editorstate.ONE_ROLL_TRIM: trimmodes.oneroll_play_pressed() elif EDIT_MODE() == editorstate.ONE_ROLL_TRIM_NO_EDIT: movemodes.play_pressed() elif EDIT_MODE() == editorstate.TWO_ROLL_TRIM: trimmodes.tworoll_play_pressed() elif EDIT_MODE() == editorstate.TWO_ROLL_TRIM_NO_EDIT: movemodes.play_pressed() elif EDIT_MODE() == editorstate.SLIDE_TRIM: trimmodes.slide_play_pressed() elif EDIT_MODE() == editorstate.SLIDE_TRIM_NO_EDIT: movemodes.play_pressed() elif EDIT_MODE() == editorstate.KF_TOOL: movemodes.play_pressed() elif EDIT_MODE() == editorstate.MULTI_TRIM: movemodes.play_pressed() elif EDIT_MODE() == editorstate.CUT: movemodes.play_pressed()