FLA Export - write SoundEnvelope tag if hasEnvelope is false

This commit is contained in:
Jindra Petřík
2021-03-05 21:22:55 +01:00
parent 90e82022b5
commit fe38c51064
@@ -1604,6 +1604,10 @@ public class XFLConverter {
symbolStr.writeEndElement(); //SoundEnvelopePoint
}
symbolStr.writeEndElement(); //SoundEnvelope
} else {
symbolStr.writeStartElement("SoundEnvelope");
symbolStr.writeEmptyElement("SoundEnvelopePoint", new String[]{"level0", "32768", "level1", "32768"});
symbolStr.writeEndElement(); //SoundEnvelope
}
}
symbolStr.writeStartElement("elements");