Save material group in ork material

This commit is contained in:
SiboVG 2024-08-07 12:58:37 +02:00
parent 2e8accf097
commit 691f79fe3c

View File

@ -200,7 +200,8 @@ public class RocketComponentSaver {
String baseName = trans.getBaseText("material", mat.getName());
return str + " density=\"" + mat.getDensity() + "\">" + TextUtil.escapeXML(baseName) + "</" + tag + ">";
return str + " density=\"" + mat.getDensity() + "\" group=\"" + mat.getGroup().getDatabaseString() + "\">" +
TextUtil.escapeXML(baseName) + "</" + tag + ">";
}