[fixes #969] Use edgesSameAsInside default false

This commit is contained in:
Sibo Van Gool 2021-08-09 19:47:07 +02:00
parent 6b67aac739
commit 7b1fcf0f60
2 changed files with 2 additions and 3 deletions

View File

@ -134,7 +134,6 @@ public abstract class FinSet extends ExternalComponent implements AxialPositiona
this.filletMaterial = Application.getPreferences().getDefaultComponentMaterial(this.getClass(), Material.Type.BULK); this.filletMaterial = Application.getPreferences().getDefaultComponentMaterial(this.getClass(), Material.Type.BULK);
super.displayOrder_side = 4; // Order for displaying the component in the 2D side view super.displayOrder_side = 4; // Order for displaying the component in the 2D side view
super.displayOrder_back = 4; // Order for displaying the component in the 2D back view super.displayOrder_back = 4; // Order for displaying the component in the 2D back view
insideColorComponentHandler.setEdgesSameAsInside(false);
} }
@Override @Override

View File

@ -14,8 +14,8 @@ import java.util.EventObject;
public class InsideColorComponentHandler { public class InsideColorComponentHandler {
private final RocketComponent component; private final RocketComponent component;
private Appearance insideAppearance = null; private Appearance insideAppearance = null;
private boolean separateInsideOutside = false; // Flag for separate inside and outside appearance private boolean separateInsideOutside = false; // Flag for separate inside and outside appearance
private boolean edgesSameAsInside = true; private boolean edgesSameAsInside = false; // Flag for setting the edge appearance to the inside (true) or outside (false) appearance
public InsideColorComponentHandler(RocketComponent component) { public InsideColorComponentHandler(RocketComponent component) {
this.component = component; this.component = component;