added grass painting

This commit is contained in:
Soloman N
2018-06-07 12:42:41 -04:00
Unverified
parent 4c131fa0af
commit b971beb5bf
17 changed files with 2390 additions and 586 deletions
@@ -138,6 +138,18 @@ namespace CodeWalker.Project.Panels
}
}
if (ymap.GrassInstanceBatches != null)
{
foreach (var batch in ymap.GrassInstanceBatches)
{
var ytyp = batch.Archetype?.Ytyp;
var ytypname = getYtypName(ytyp);
if (ytyp != null)
{
mapdeps[ytypname] = ytyp;
}
}
}
sb.AppendLine(" <Item>");
sb.AppendLine(" <imapName>" + ymapname + "</imapName>");