From 64c27b96909834381558375ee1f27bdec04360f3 Mon Sep 17 00:00:00 2001 From: Alessio Monti di Sopra Date: Tue, 19 Nov 2019 00:55:15 +1100 Subject: WM: remove view operators from the undo stack --- source/blender/editors/space_action/action_edit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/editors/space_action') diff --git a/source/blender/editors/space_action/action_edit.c b/source/blender/editors/space_action/action_edit.c index 242acfd0261..5eac041b217 100644 --- a/source/blender/editors/space_action/action_edit.c +++ b/source/blender/editors/space_action/action_edit.c @@ -457,7 +457,7 @@ void ACTION_OT_view_all(wmOperatorType *ot) ot->poll = ED_operator_action_active; /* flags */ - ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; + ot->flag = 0; } void ACTION_OT_view_selected(wmOperatorType *ot) @@ -472,7 +472,7 @@ void ACTION_OT_view_selected(wmOperatorType *ot) ot->poll = ED_operator_action_active; /* flags */ - ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; + ot->flag = 0; } /* ****************** View-All Operator ****************** */ @@ -497,7 +497,7 @@ void ACTION_OT_view_frame(wmOperatorType *ot) ot->poll = ED_operator_action_active; /* flags */ - ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; + ot->flag = 0; } /* ************************************************************************** */ -- cgit v1.2.3