From: eap Date: Fri, 13 Feb 2009 08:56:10 +0000 (+0000) Subject: 0020159: EDF GEOM: Dump study with exploded geom object is not complete X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=153f2835d56017b25d59c3330b34d680ec9cfbba;p=modules%2Fgeom.git 0020159: EDF GEOM: Dump study with exploded geom object is not complete refix --- diff --git a/src/GEOM/GEOM_Engine.cxx b/src/GEOM/GEOM_Engine.cxx index 67658d480..a30887bb6 100644 --- a/src/GEOM/GEOM_Engine.cxx +++ b/src/GEOM/GEOM_Engine.cxx @@ -712,9 +712,7 @@ void ProcessFunction(Handle(GEOM_Function)& theFunction, { if (theFunction.IsNull()) return; - // not to process twice if (theProcessed.Contains(theFunction->GetEntry())) return; - theProcessed.Add(theFunction->GetEntry()); // pass functions, that depends on nonexisting ones bool doNotProcess = false; @@ -753,6 +751,7 @@ void ProcessFunction(Handle(GEOM_Function)& theFunction, theIgnoreObjs.insert(anObjEntry.ToCString()); return; } + theProcessed.Add(theFunction->GetEntry()); TCollection_AsciiString aDescr = theFunction->GetDescription(); if(aDescr.Length() == 0) return;