0020159: EDF GEOM: Dump study with exploded geom object is not complete

refix
This commit is contained in:
eap 2009-02-13 08:56:10 +00:00
parent b47f0f377c
commit 153f2835d5

View File

@ -712,9 +712,7 @@ void ProcessFunction(Handle(GEOM_Function)& theFunction,
{ {
if (theFunction.IsNull()) return; if (theFunction.IsNull()) return;
// not to process twice
if (theProcessed.Contains(theFunction->GetEntry())) return; if (theProcessed.Contains(theFunction->GetEntry())) return;
theProcessed.Add(theFunction->GetEntry());
// pass functions, that depends on nonexisting ones // pass functions, that depends on nonexisting ones
bool doNotProcess = false; bool doNotProcess = false;
@ -753,6 +751,7 @@ void ProcessFunction(Handle(GEOM_Function)& theFunction,
theIgnoreObjs.insert(anObjEntry.ToCString()); theIgnoreObjs.insert(anObjEntry.ToCString());
return; return;
} }
theProcessed.Add(theFunction->GetEntry());
TCollection_AsciiString aDescr = theFunction->GetDescription(); TCollection_AsciiString aDescr = theFunction->GetDescription();
if(aDescr.Length() == 0) return; if(aDescr.Length() == 0) return;