GPv3: Dash modifier #117758

Merged
Lukas Tönne merged 29 commits from LukasTonne/blender:gp3-dash-modifier into main 2024-02-08 15:35:30 +01:00
Showing only changes of commit ad9e1811bc - Show all commits

View File

@ -101,7 +101,7 @@ static bool is_disabled(const Scene * /*scene*/, ModifierData *md, bool /*use_re
static int floored_modulo(const int a, const int b)
{
return a - math::floor(a / b) * b;
return a - math::floor(float(a) / float(b)) * b;
}
/* Combined segment info used by all strokes. */