Fix: Graph Editor - add operator flags for cursor wrapping #107435
|
@ -679,7 +679,7 @@ void GRAPH_OT_blend_to_neighbor(wmOperatorType *ot)
|
||||||
ot->poll = graphop_editable_keyframes_poll;
|
ot->poll = graphop_editable_keyframes_poll;
|
||||||
|
|
||||||
/* Flags. */
|
/* Flags. */
|
||||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_BLOCKING | OPTYPE_GRAB_CURSOR_X;
|
||||||
|
|
||||||
RNA_def_float_factor(ot->srna,
|
RNA_def_float_factor(ot->srna,
|
||||||
"factor",
|
"factor",
|
||||||
|
@ -764,7 +764,7 @@ void GRAPH_OT_breakdown(wmOperatorType *ot)
|
||||||
ot->poll = graphop_editable_keyframes_poll;
|
ot->poll = graphop_editable_keyframes_poll;
|
||||||
|
|
||||||
/* Flags. */
|
/* Flags. */
|
||||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_BLOCKING | OPTYPE_GRAB_CURSOR_X;
|
||||||
|
|
||||||
RNA_def_float_factor(ot->srna,
|
RNA_def_float_factor(ot->srna,
|
||||||
"factor",
|
"factor",
|
||||||
|
@ -869,7 +869,7 @@ void GRAPH_OT_blend_to_default(wmOperatorType *ot)
|
||||||
ot->poll = graphop_editable_keyframes_poll;
|
ot->poll = graphop_editable_keyframes_poll;
|
||||||
|
|
||||||
/* Flags. */
|
/* Flags. */
|
||||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_BLOCKING | OPTYPE_GRAB_CURSOR_X;
|
||||||
|
|
||||||
RNA_def_float_factor(ot->srna,
|
RNA_def_float_factor(ot->srna,
|
||||||
"factor",
|
"factor",
|
||||||
|
@ -954,7 +954,7 @@ void GRAPH_OT_ease(wmOperatorType *ot)
|
||||||
ot->poll = graphop_editable_keyframes_poll;
|
ot->poll = graphop_editable_keyframes_poll;
|
||||||
|
|
||||||
/* Flags. */
|
/* Flags. */
|
||||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_BLOCKING | OPTYPE_GRAB_CURSOR_X;
|
||||||
|
|
||||||
RNA_def_float_factor(ot->srna,
|
RNA_def_float_factor(ot->srna,
|
||||||
"factor",
|
"factor",
|
||||||
|
|
Loading…
Reference in New Issue