mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
Humbucker doesn't render second coil poles properly in certain scenarios
This commit is contained in:
@@ -317,7 +317,7 @@ public class HumbuckerPickup extends AbstractGuitarPickup {
|
||||
new Ellipse2D.Double(x /* + pointMargin */- length + poleMargin + i * poleSpacing - poleSize / 2, y
|
||||
- pointMargin + width - coilMargin - poleSize / 2, poleSize, poleSize);
|
||||
poleArea.add(new Area(pole));
|
||||
if (getCoilType1() == PolePieceType.Screws) {
|
||||
if (getCoilType2() == PolePieceType.Screws) {
|
||||
if (i % 2 == 1) {
|
||||
screwPath.moveTo(x /* + pointMargin */- length + poleMargin + i * poleSpacing - poleSize / 2, y
|
||||
- pointMargin + width - coilMargin - poleSize / 2);
|
||||
|
||||
Reference in New Issue
Block a user