Model Material Editor

This commit is contained in:
dexy
2019-03-22 01:29:37 +11:00
Unverified
parent 8324e1ecda
commit 023be70bb4
9 changed files with 909 additions and 33 deletions
@@ -1270,6 +1270,9 @@ namespace CodeWalker.GameFiles
private ResourceSystemStructBlock<ushort> BoneIdsBlock = null;//for saving only
public bool UpdateRenderableParameters { get; set; } = false; //used by model material editor...
/// <summary>
/// Reads the data-block from a stream.
/// </summary>
+4
View File
@@ -425,6 +425,10 @@ namespace CodeWalker.GameFiles
}
}
}
if (nlow.EndsWith(".sps"))
{
JenkIndex.Ensure(nlow);//for shader preset filename hashes!
}
if (nlow.EndsWith(".awc")) //create audio container path hashes...
{
string[] parts = entry.Path.Split('\\');