Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessio Monti di Sopra <a.monti>2019-11-18 16:55:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-11-18 16:56:07 +0300
commit64c27b96909834381558375ee1f27bdec04360f3 (patch)
treeefdae7f3d139b21fed5334f19fc729446aa09974 /source/blender/editors/space_graph/graph_edit.c
parentd66bc3807f922caa95452732d64abead9f50514f (diff)
WM: remove view operators from the undo stack
Diffstat (limited to 'source/blender/editors/space_graph/graph_edit.c')
-rw-r--r--source/blender/editors/space_graph/graph_edit.c6
1 files changed, 3 insertions, 3 deletions
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 *********************** */