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:
parent
c16bd34316
commit
cf332e896f
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue