mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-30 02:42:54 +08:00
Fix for exporting fragments XML drawable array names
This commit is contained in:
parent
88cb6083eb
commit
44a5d4891b
@ -395,7 +395,9 @@ namespace CodeWalker.GameFiles
|
|||||||
var d = DrawableArray.data_items[i];
|
var d = DrawableArray.data_items[i];
|
||||||
var name = (i < (danames?.Length ?? 0)) ? danames[i] : null;
|
var name = (i < (danames?.Length ?? 0)) ? danames[i] : null;
|
||||||
if (d.Name != name.Value)
|
if (d.Name != name.Value)
|
||||||
{ }
|
{
|
||||||
|
d.Name = name.Value;
|
||||||
|
}
|
||||||
FragDrawable.WriteXmlNode(d, sb, indent + 1, ddsfolder, "Item");
|
FragDrawable.WriteXmlNode(d, sb, indent + 1, ddsfolder, "Item");
|
||||||
}
|
}
|
||||||
YftXml.CloseTag(sb, indent, "DrawableArray");
|
YftXml.CloseTag(sb, indent, "DrawableArray");
|
||||||
|
Loading…
Reference in New Issue
Block a user