mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-18 14:58:24 +00:00
Issue #524 Mask layer not applied when script layer not empty
This commit is contained in:
@@ -2199,11 +2199,16 @@ public class XFLConverter {
|
||||
ret += "<layers>";
|
||||
|
||||
ret += convertLabelsLayer(spriteId, tags, timelineTags, backgroundColor);
|
||||
ret += convertActionScriptLayer(spriteId, tags, timelineTags, backgroundColor);
|
||||
String scriptLayer = convertActionScriptLayer(spriteId, tags, timelineTags, backgroundColor);
|
||||
int index = 0;
|
||||
if(!scriptLayer.isEmpty()){
|
||||
index++;
|
||||
}
|
||||
ret += scriptLayer;
|
||||
|
||||
int layerCount = getLayerCount(timelineTags);
|
||||
Stack<Integer> parentLayers = new Stack<>();
|
||||
int index = 0;
|
||||
|
||||
for (int d = layerCount; d >= 1; d--, index++) {
|
||||
for (Tag t : timelineTags) {
|
||||
if (t instanceof PlaceObjectTypeTag) {
|
||||
|
||||
Reference in New Issue
Block a user