mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
fix radial cap import from v2
This commit is contained in:
@@ -537,8 +537,7 @@ public class V2FileParser implements IOldFileParser {
|
|||||||
capacitor.setValue(new Capacitance(value, cp));
|
capacitor.setValue(new Capacitance(value, cp));
|
||||||
}
|
}
|
||||||
capacitor.setAlpha((byte) transparency);
|
capacitor.setAlpha((byte) transparency);
|
||||||
capacitor.setWidth(diameterPro);
|
capacitor.setLength(diameterPro);
|
||||||
capacitor.setHeight(diameterPro);
|
|
||||||
capacitor.setControlPoint(tacke.get(0), 0);
|
capacitor.setControlPoint(tacke.get(0), 0);
|
||||||
capacitor.setControlPoint(tacke.get(1), 1);
|
capacitor.setControlPoint(tacke.get(1), 1);
|
||||||
project.getComponents().add(capacitor);
|
project.getComponents().add(capacitor);
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user