X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2FGEOM%2FGEOM_Engine.cxx;h=f7ae8fc8e82a29a7217fa2d1dbebecc175e989ee;hb=4d8c0024728a305fb2858aa407bb87418d1ec47c;hp=bfd101415e33725f9e753dd1529a03109d54747a;hpb=25ea73e3e3ae28a299d2c4562c3e4b09c85ddb39;p=modules%2Fgeom.git diff --git a/src/GEOM/GEOM_Engine.cxx b/src/GEOM/GEOM_Engine.cxx index bfd101415..f7ae8fc8e 100644 --- a/src/GEOM/GEOM_Engine.cxx +++ b/src/GEOM/GEOM_Engine.cxx @@ -1853,7 +1853,7 @@ void PublishObject (TObjectData& theObjectData, // store aCreationCommand before publishing commands int tag = GetTag(theObjectData._entry); - theEntryToCmdMap.insert( std::make_pair( tag + 2*theEntry2ObjData.size(), aCreationCommand )); + theEntryToCmdMap.insert( std::make_pair( tag + -2*theEntry2ObjData.size(), aCreationCommand )); } // make a command