Remove broken culling code and fix flag switching

This commit is contained in:
2020-06-11 21:58:04 -07:00
parent b09695d602
commit 38ce1184ea
6 changed files with 5 additions and 27 deletions

View File

@ -58,8 +58,8 @@ namespace ConformalDecals.MaterialModifiers {
TextureUrl = node.GetValue("textureUrl");
}
if (node.HasValue("tileRect") && !autoTile) {
SetTile(ParsePropertyRect(node, "tileRect", true, _tileRect));
if (node.HasValue("tile") && !autoTile) {
SetTile(ParsePropertyRect(node, "tile", true, _tileRect));
}
}