mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
Covered humbucker pickup throwing errors when rotated
This commit is contained in:
Binary file not shown.
@@ -268,6 +268,7 @@ public class HumbuckerPickup extends AbstractTransparentComponent<String> {
|
|||||||
AffineTransform rotation = AffineTransform.getRotateInstance(theta, x, y);
|
AffineTransform rotation = AffineTransform.getRotateInstance(theta, x, y);
|
||||||
for (Shape shape : body) {
|
for (Shape shape : body) {
|
||||||
Area area = (Area) shape;
|
Area area = (Area) shape;
|
||||||
|
if (area != null)
|
||||||
area.transform(rotation);
|
area.transform(rotation);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user