From: vsr Date: Tue, 30 Jul 2019 08:39:41 +0000 (+0300) Subject: Reverting commit 32564551 as it caused regression with data publication X-Git-Tag: V9_4_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ca407fcec61cf93430c575566e5d11777e331c4e;p=modules%2Fgeom.git Reverting commit 32564551 as it caused regression with data publication --- diff --git a/src/GEOM/GEOM_Engine.cxx b/src/GEOM/GEOM_Engine.cxx index 305581186..2269e05c3 100644 --- a/src/GEOM/GEOM_Engine.cxx +++ b/src/GEOM/GEOM_Engine.cxx @@ -1842,7 +1842,6 @@ TCollection_AsciiString GetPublishCommands TIntToListIntMap::const_iterator aRefIt = theMapRefs.find(theTag); if (aRefIt != theMapRefs.end()) { - thePublished.insert(theTag); // Recursively publish all references. std::list< int >::const_iterator aRefTagIt = aRefIt->second.begin(); @@ -1857,6 +1856,7 @@ TCollection_AsciiString GetPublishCommands // Add the object command. aResult += anIt->second; } + thePublished.insert(theTag); } return aResult;