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:
Antonio Vazquez 2020-07-10 17:56:05 +02:00
parent 6eeb32706a
commit d5208c45fa
1 changed files with 2 additions and 1 deletions

View File

@ -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;