Commit 2d9243ed authored by Robin Eschbach's avatar Robin Eschbach
Browse files

[FIX #540] ignore connections to inner modules of containers

parent bf5c465a
......@@ -446,8 +446,11 @@ void WModuleProjectFileCombiner::save( std::ostream& output ) // NOLINT
{
// as the module is a weak_ptr -> lock and get access to it
std::shared_ptr< WModule > theOtherModule = ( *iciter )->m_module.lock();
output << "CONNECTION:(" << moduleToIDMap[ ( *iter ) ] << "," << ( *citer )->getName() << ")->(" <<
moduleToIDMap[ theOtherModule ] << "," << ( *iciter )->getName() << ")" << std::endl;
if( moduleToIDMap.find( theOtherModule ) != moduleToIDMap.end() )
Please register or sign in to reply
{
output << "CONNECTION:(" << moduleToIDMap[ ( *iter ) ] << "," << ( *citer )->getName() << ")->(" <<
moduleToIDMap[ theOtherModule ] << "," << ( *iciter )->getName() << ")" << std::endl;
}
}
lock.unlock();
}
......
  • Does this commit exclude only internal connection or also connection to itself? ... e.g. if a module has multiple inputs and one output, it could be desired to have a loop connection

  • It excludes connections to modules that are not in the normal module list. So it should only exclude internal connections.

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment