GPencil: Fix unreported double rotation in Fill circles

The help circles to fill areas were rotated with the object rotation,
but as the stroke is part of the object, apply the rot matrix again
produced a double rotation, so it can be removed.
This commit is contained in:
Antonio Vazquez 2023-01-24 13:19:08 +01:00
parent c16bd34316
commit cf332e896f
1 changed files with 0 additions and 5 deletions

View File

@ -314,11 +314,6 @@ static void add_endpoint_radius_help(tGPDfill *tgpf,
pt->z = endpoint[2] + radius * sinf(angle);
pt->strength = 1.0f;
pt->pressure = 1.0f;
/* Rotate to object rotation. */
sub_v3_v3(&pt->x, endpoint);
mul_mat3_m4_v3(tgpf->ob->object_to_world, &pt->x);
add_v3_v3(&pt->x, endpoint);
}
}