Animation: Add "Frame Channel" operators #104523
|
@ -3643,8 +3643,8 @@ static void ANIM_OT_channel_select_keys(wmOperatorType *ot)
|
|||
/** \name View Channel Operator
|
||||
* \{ */
|
||||
|
||||
dr.sybren marked this conversation as resolved
|
||||
static void get_normalized_fcurve_bounds(const FCurve *fcu,
|
||||
const bAnimContext *ac,
|
||||
static void get_normalized_fcurve_bounds(FCurve *fcu,
|
||||
bAnimContext *ac,
|
||||
const bAnimListElem *ale,
|
||||
ChrisLend marked this conversation as resolved
Sybren A. Stüvel
commented
`const`
|
||||
const bool include_handles,
|
||||
const float range[2],
|
||||
|
|
Loading…
Reference in New Issue
I think these three pointers can all be
const
, as this only gets the bounds and shouldn't set anything.only
ale
can be const in this casebecause
ANIM_get_normalization_flags
andANIM_unit_mapping_get_factor
would throw warnings otherwise since they aren't set to const