Code cleanup.

This commit is contained in:
2023-04-19 13:31:17 +08:00
parent f664708165
commit cf6a7a795b
9 changed files with 27 additions and 31 deletions

View File

@@ -253,8 +253,8 @@ namespace Cryville.Crtr {
if (ContainerState.RMVPool != null) {
statusbuf.AppendFormat(
"\nPools: RMV {0}, MC {1}",
ContainerState.RMVPool.RentedCount,
ContainerState.MCPool.RentedCount
RMVPool.Shared.RentedCount,
MotionCachePool.Shared.RentedCount
);
}
if (loadThread != null) {
@@ -671,8 +671,8 @@ namespace Cryville.Crtr {
pruleset = ruleset.Root;
pruleset.Optimize(etor);
}
ContainerState.RMVPool = new RMVPool();
ContainerState.MCPool = new MotionCachePool();
RMVPool.Shared = new RMVPool();
MotionCachePool.Shared = new MotionCachePool();
}
void LoadSkin(FileInfo file) {