mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-12 09:40:35 +05:00
16982 EDF 19511 - Crash when dumping study. Improved fix.
This commit is contained in:
parent
ca407fcec6
commit
9f557687e2
@ -1834,6 +1834,8 @@ TCollection_AsciiString GetPublishCommands
|
||||
|
||||
if (!thePublished.count(theTag)) {
|
||||
// This object is not published yet.
|
||||
thePublished.insert(theTag);
|
||||
|
||||
std::map< int, TCollection_AsciiString >::const_iterator anIt =
|
||||
theEntryToCmdMap.find(theTag);
|
||||
|
||||
@ -1856,7 +1858,6 @@ TCollection_AsciiString GetPublishCommands
|
||||
// Add the object command.
|
||||
aResult += anIt->second;
|
||||
}
|
||||
thePublished.insert(theTag);
|
||||
}
|
||||
|
||||
return aResult;
|
||||
|
Loading…
Reference in New Issue
Block a user