Small changes.

This commit is contained in:
Ottermandias 2024-03-28 17:37:17 +01:00
parent 3066bf84d5
commit 1ba5011bfa
9 changed files with 120 additions and 95 deletions

View file

@ -156,7 +156,7 @@ public class ResourceTree
var genericContext = globalContext.CreateContext(&human->CharacterBase);
var cache = globalContext.Collection._cache;
if (cache != null && cache.LoadedResources.TryGetValue(PreBoneDeformerReplacer.PreBoneDeformerPath, out var pbdHandle))
if (cache != null && cache.CustomResources.TryGetValue(PreBoneDeformerReplacer.PreBoneDeformerPath, out var pbdHandle))
{
var pbdNode = genericContext.CreateNodeFromPbd(pbdHandle.ResourceHandle);
if (pbdNode != null)