From b50564f7413ea52aae0cc8f301f90c299c4723ef Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Tue, 9 May 2023 20:18:38 +0200 Subject: [PATCH] Use collection prefix for TMBs. --- Penumbra/Interop/PathResolving/SubfileHelper.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Penumbra/Interop/PathResolving/SubfileHelper.cs b/Penumbra/Interop/PathResolving/SubfileHelper.cs index 83393d40..05f42220 100644 --- a/Penumbra/Interop/PathResolving/SubfileHelper.cs +++ b/Penumbra/Interop/PathResolving/SubfileHelper.cs @@ -85,7 +85,7 @@ public unsafe class SubfileHelper : IDisposable, IReadOnlyCollection Materials and AVFX need to be set per collection so they can load their textures independently from each other. + /// Materials, TMB, and AVFX need to be set per collection so they can load their sub files independently from each other. public static void HandleCollection(ResolveData resolveData, ByteString path, bool nonDefault, ResourceType type, FullPath? resolved, out (FullPath?, ResolveData) data) { @@ -94,6 +94,7 @@ public unsafe class SubfileHelper : IDisposable, IReadOnlyCollectionFileType) { case ResourceType.Mtrl: - case ResourceType.Avfx: + case ResourceType.Avfx: if (handle->FileSize == 0) _subFileCollection[(nint)handle] = resolveData;