]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0020159: EDF GEOM: Dump study with exploded geom object is not complete
authoreap <eap@opencascade.com>
Fri, 13 Feb 2009 08:56:10 +0000 (08:56 +0000)
committereap <eap@opencascade.com>
Fri, 13 Feb 2009 08:56:10 +0000 (08:56 +0000)
   refix

src/GEOM/GEOM_Engine.cxx

index 67658d480207b3fd0ec7670b71bea0e7acd02ea7..a30887bb69b7778a5e8ae5ea8dc459b4d34e3a63 100644 (file)
@@ -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;