From a80bfcde142847f0777ec8c0afc46eb1bfb840fa Mon Sep 17 00:00:00 2001 From: SiboVG Date: Sun, 1 May 2022 23:34:37 +0200 Subject: [PATCH] Rearrange Material types This causes a more logical arrangement in the preferences' add material dropdown box --- core/src/net/sf/openrocket/material/Material.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/net/sf/openrocket/material/Material.java b/core/src/net/sf/openrocket/material/Material.java index fd311d3fe..2b42747cc 100644 --- a/core/src/net/sf/openrocket/material/Material.java +++ b/core/src/net/sf/openrocket/material/Material.java @@ -19,11 +19,11 @@ import net.sf.openrocket.util.MathUtil; public abstract class Material implements Comparable { private static final Translator trans = Application.getTranslator(); - + public enum Type { - LINE("Databases.materials.types.Line", UnitGroup.UNITS_DENSITY_LINE), - SURFACE("Databases.materials.types.Surface", UnitGroup.UNITS_DENSITY_SURFACE), BULK("Databases.materials.types.Bulk", UnitGroup.UNITS_DENSITY_BULK), + SURFACE("Databases.materials.types.Surface", UnitGroup.UNITS_DENSITY_SURFACE), + LINE("Databases.materials.types.Line", UnitGroup.UNITS_DENSITY_LINE), CUSTOM("Databases.materials.types.Custom", UnitGroup.UNITS_DENSITY_BULK); private final String name;