mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-14 09:38:34 +05:00
Fix for "16982 EDF 19511 - Crash when dumping study" issue.
This commit is contained in:
parent
5410290368
commit
3256455164
@ -1842,6 +1842,7 @@ 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();
|
||||||
|
|
||||||
@ -1856,8 +1857,6 @@ TCollection_AsciiString GetPublishCommands
|
|||||||
// Add the object command.
|
// Add the object command.
|
||||||
aResult += anIt->second;
|
aResult += anIt->second;
|
||||||
}
|
}
|
||||||
|
|
||||||
thePublished.insert(theTag);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return aResult;
|
return aResult;
|
||||||
|
Loading…
Reference in New Issue
Block a user