forked from blender/blender
main sync #3
@ -229,7 +229,7 @@ void SEQUENCER_OT_retiming_handle_move(wmOperatorType *ot)
|
|||||||
/* flags */
|
/* flags */
|
||||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||||
|
|
||||||
RNA_def_int(ot->srna,
|
PropertyRNA *prop = RNA_def_int(ot->srna,
|
||||||
"handle_index",
|
"handle_index",
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
@ -238,6 +238,7 @@ void SEQUENCER_OT_retiming_handle_move(wmOperatorType *ot)
|
|||||||
"Index of handle to be moved",
|
"Index of handle to be moved",
|
||||||
0,
|
0,
|
||||||
INT_MAX);
|
INT_MAX);
|
||||||
|
RNA_def_property_flag(prop, PROP_HIDDEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** \} */
|
/** \} */
|
||||||
@ -367,7 +368,7 @@ void SEQUENCER_OT_retiming_handle_remove(wmOperatorType *ot)
|
|||||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||||
|
|
||||||
/* properties */
|
/* properties */
|
||||||
RNA_def_int(ot->srna,
|
PropertyRNA *prop = RNA_def_int(ot->srna,
|
||||||
"handle_index",
|
"handle_index",
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
@ -376,6 +377,7 @@ void SEQUENCER_OT_retiming_handle_remove(wmOperatorType *ot)
|
|||||||
"Index of handle to be removed",
|
"Index of handle to be removed",
|
||||||
0,
|
0,
|
||||||
INT_MAX);
|
INT_MAX);
|
||||||
|
RNA_def_property_flag(prop, PROP_HIDDEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** \} */
|
/** \} */
|
||||||
|
Loading…
Reference in New Issue
Block a user