Pull up CategorizedPool. Add Reset method for ObjectPool.
This commit is contained in:
@@ -517,8 +517,6 @@ namespace Cryville.Crtr {
|
||||
try {
|
||||
workerTimer = new diag::Stopwatch();
|
||||
workerTimer.Start();
|
||||
RMVPool.Prepare();
|
||||
MotionCachePool.Prepare();
|
||||
LoadChart(info);
|
||||
workerTimer.Stop();
|
||||
Logger.Log("main", 1, "Load/WorkerThread", "Worker thread done ({0}ms)", workerTimer.Elapsed.TotalMilliseconds);
|
||||
@@ -607,6 +605,8 @@ namespace Cryville.Crtr {
|
||||
pruleset = ruleset.Root;
|
||||
pruleset.Optimize(etor);
|
||||
}
|
||||
ContainerState.RMVPool = new RMVPool();
|
||||
ContainerState.MCPool = new MotionCachePool();
|
||||
}
|
||||
|
||||
void LoadSkin(FileInfo file) {
|
||||
|
Reference in New Issue
Block a user