diff options
author | Alessio Monti di Sopra <a.monti> | 2019-11-18 16:55:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-18 16:56:07 +0300 |
commit | 64c27b96909834381558375ee1f27bdec04360f3 (patch) | |
tree | efdae7f3d139b21fed5334f19fc729446aa09974 /source/blender/editors/space_nla/nla_edit.c | |
parent | d66bc3807f922caa95452732d64abead9f50514f (diff) |
WM: remove view operators from the undo stack
Diffstat (limited to 'source/blender/editors/space_nla/nla_edit.c')
-rw-r--r-- | source/blender/editors/space_nla/nla_edit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_nla/nla_edit.c b/source/blender/editors/space_nla/nla_edit.c index 052f653ca7f..04a20efe887 100644 --- a/source/blender/editors/space_nla/nla_edit.c +++ b/source/blender/editors/space_nla/nla_edit.c @@ -535,7 +535,7 @@ void NLA_OT_view_all(wmOperatorType *ot) ot->poll = ED_operator_nla_active; /* flags */ - ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; + ot->flag = 0; } void NLA_OT_view_selected(wmOperatorType *ot) @@ -550,7 +550,7 @@ void NLA_OT_view_selected(wmOperatorType *ot) ot->poll = ED_operator_nla_active; /* flags */ - ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; + ot->flag = 0; } /* *********************************************** */ @@ -574,7 +574,7 @@ void NLA_OT_view_frame(wmOperatorType *ot) ot->poll = ED_operator_nla_active; /* flags */ - ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; + ot->flag = 0; } /* *********************************************** */ |