Skip to content

Commit

Permalink
Fix merger connection bug
Browse files Browse the repository at this point in the history
  • Loading branch information
anjaldoshi committed May 2, 2022
1 parent 4c18ff4 commit 17c2f00
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Source/Processors/ProcessorGraph/ProcessorGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1013,17 +1013,17 @@ void ProcessorGraph::updateConnections()
{
sourceMap[node].add(conn);
}
}

// Finally, actually connect sources to each dest processor,
// in correct order by merger topography
for (const auto& destSources : sourceMap)
{
GenericProcessor* dest = destSources.first;

// Finally, actually connect sources to each dest processor,
// in correct order by merger topography
for (const auto& destSources : sourceMap)
for (const ConnectionInfo& conn : destSources.second)
{
GenericProcessor* dest = destSources.first;

for (const ConnectionInfo& conn : destSources.second)
{
connectProcessors(conn.source, dest, conn.connectContinuous, conn.connectEvents);
}
connectProcessors(conn.source, dest, conn.connectContinuous, conn.connectEvents);
}
}

Expand Down

0 comments on commit 17c2f00

Please sign in to comment.