better ordering of input bus in generated circuits

This commit is contained in:
hneemann 2017-04-04 21:06:17 +02:00
parent df554b1d97
commit 9b4a9eedef

View File

@ -359,7 +359,7 @@ public class CircuitBuilder implements BuilderInterface<CircuitBuilder> {
String oName = name.getIdentifier();
if (oName.endsWith("n")) {
oName = oName.substring(0, oName.length() - 1);
if (oName.endsWith("_")) oName = oName.substring(0, oName.length() - 1);
if (oName.endsWith("_") || oName.endsWith("^")) oName = oName.substring(0, oName.length() - 1);
}
if (!combinatorialOutputs.contains(oName)) {
VisualElement t = new VisualElement(Tunnel.DESCRIPTION.getName()).setShapeFactory(shapeFactory);