Reverting commit 32564551 as it caused regression with data publication

This commit is contained in:
vsr 2019-07-30 11:39:41 +03:00
parent 9c7a707978
commit ca407fcec6

View File

@ -1842,7 +1842,6 @@ TCollection_AsciiString GetPublishCommands
TIntToListIntMap::const_iterator aRefIt = theMapRefs.find(theTag); TIntToListIntMap::const_iterator aRefIt = theMapRefs.find(theTag);
if (aRefIt != theMapRefs.end()) { if (aRefIt != theMapRefs.end()) {
thePublished.insert(theTag);
// Recursively publish all references. // Recursively publish all references.
std::list< int >::const_iterator aRefTagIt = aRefIt->second.begin(); std::list< int >::const_iterator aRefTagIt = aRefIt->second.begin();
@ -1857,6 +1856,7 @@ TCollection_AsciiString GetPublishCommands
// Add the object command. // Add the object command.
aResult += anIt->second; aResult += anIt->second;
} }
thePublished.insert(theTag);
} }
return aResult; return aResult;