anEntries.push_back( aDepEntry );
}
// get dependencies recursively
- if ( !depList[j]->_is_equivalent( gbo ) /*avoid self-recursion*/ ) {
- getUpwardDependency(depList[j], upLevelList, passedEntries, level+1);
- }
+ getUpwardDependency(depList[j], upLevelList, passedEntries, level+1);
}
if ( level > 0 ) {
aLevelMap.insert( std::pair<std::string, GEOMUtils::NodeLinks>(aGboEntry, anEntries) );
}
aLevelMap.insert( std::pair<std::string, GEOMUtils::NodeLinks>(aGoEntry, anEntries) );
downLevelList[level] = aLevelMap;
- // get dependencies of the current object recursively
- if ( !depList[i]->_is_equivalent( geomObj ) ) { // avoid self-recursion
- getDownwardDependency(geomObj, downLevelList, passedEntries, level+1);
- }
- break;
+ // get dependencies of the current object recursively
+ getDownwardDependency(geomObj, downLevelList, passedEntries, level+1);
+ break;
}
}
}