Skip to content

Commit 457af8c

Browse files
committed
Use parallel again to parse superbundles
1 parent 7f377f9 commit 457af8c

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

RimeLib.Content.Frostbite2_0/Mounting/EngineMounter.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -572,10 +572,7 @@ protected void ProcessChunk(ChunkInfo p_Chunk, SuperbundleEntry p_SbEntry, bool
572572

573573
protected void ParseSuperbundles()
574574
{
575-
// TODO: Re-enable parallel processing once we've made sure everything is working as intended.
576-
// it seems like there is an issue with the EngineMounter MountCasBundle function. Seems like it doesnt add every chunkvariation to the mountedChunks.
577-
//Parallel.ForEach(m_Superbundles, p_Superbundle => ParseSuperbundle(p_Superbundle, true));
578-
m_Superbundles.ForEach(p_Superbundle => ParseSuperbundle(p_Superbundle, true));
575+
Parallel.ForEach(m_Superbundles, p_Superbundle => ParseSuperbundle(p_Superbundle, true));
579576
}
580577

581578
protected void ParseSuperbundle(SuperbundleEntry p_Superbundle, bool p_AutoMount)

0 commit comments

Comments
 (0)