Fixed atlases for mods

This commit is contained in:
Yoshman29
2026-01-19 12:35:51 +01:00
parent 8262086610
commit 6caf6341c2
4 changed files with 36 additions and 7 deletions
+2 -7
View File
@@ -128,13 +128,8 @@ final class XMLUtil {
spr.spriteAnimType = XMLAnimType.fromString(node.att.type, spr.spriteAnimType);
}
if (node.has.applyStageMatrix) {
spr.applyStageMatrix = node.att.applyStageMatrix == "true";
}
if (node.has.useRenderTexture) {
spr.useRenderTexture = node.att.useRenderTexture == "true";
}
if (node.has.applyStageMatrix) spr.applyStageMatrix = node.att.applyStageMatrix == "true";
if (node.has.useRenderTexture) spr.useRenderTexture = node.att.useRenderTexture == "true";
if(node.has.x) {
var x:Null<Float> = Std.parseFloat(node.att.x);