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_graph/graph_edit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/editors/space_graph/graph_edit.c') diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c index 02d5eed4822..7ca0b6afadc 100644 --- a/source/blender/editors/space_graph/graph_edit.c +++ b/source/blender/editors/space_graph/graph_edit.c @@ -333,7 +333,7 @@ void GRAPH_OT_view_all(wmOperatorType *ot) ot->poll = ED_operator_graphedit_active; /* flags */ - ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; + ot->flag = 0; /* props */ ot->prop = RNA_def_boolean(ot->srna, @@ -356,7 +356,7 @@ void GRAPH_OT_view_selected(wmOperatorType *ot) ot->poll = ED_operator_graphedit_active; /* flags */ - ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; + ot->flag = 0; /* props */ ot->prop = RNA_def_boolean(ot->srna, @@ -387,7 +387,7 @@ void GRAPH_OT_view_frame(wmOperatorType *ot) ot->poll = ED_operator_graphedit_active; /* flags */ - ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; + ot->flag = 0; } /* ******************** Create Ghost-Curves Operator *********************** */ -- cgit v1.2.3