GPencil: Fix unreported Use Falloff curve for active frame not working
For the active frame it was using always a value of 1.0 and it was not using the curve.
This commit is contained in:
parent
6eeb32706a
commit
d5208c45fa
|
@ -1782,7 +1782,8 @@ float BKE_gpencil_multiframe_falloff_calc(
|
|||
value = BKE_curvemapping_evaluateF(cur_falloff, 0, fnum + 0.5f);
|
||||
}
|
||||
else {
|
||||
value = 1.0f;
|
||||
/* Center of the curve. */
|
||||
value = BKE_curvemapping_evaluateF(cur_falloff, 0, 0.5f);
|
||||
}
|
||||
|
||||
return value;
|
||||
|
|
Loading…
Reference in New Issue