Make curve decimation only take into account the selected curve points
Previously the decimation would take the whole curve into account when decimating and not just the selected part. This also contains various smaller bug fixes for the fcurve decimation. Reviewed By: Sybren Differential Revision: http://developer.blender.org/D6286
This commit is contained in:
@@ -309,7 +309,7 @@ void clean_fcurve(struct bAnimContext *ac,
|
||||
struct bAnimListElem *ale,
|
||||
float thresh,
|
||||
bool cleardefault);
|
||||
void decimate_fcurve(struct bAnimListElem *ale, float remove_ratio);
|
||||
bool decimate_fcurve(struct bAnimListElem *ale, float remove_ratio, float error_sq_max);
|
||||
void smooth_fcurve(struct FCurve *fcu);
|
||||
void sample_fcurve(struct FCurve *fcu);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user