bool isAdded = false;
std::list<ObjectPtr>::const_iterator anIt = aList.begin();
for (; anIt != aList.end(); ++anIt) {
+ if (!(*anIt))
+ continue;
if (!isDumped(ModelAPI_Feature::feature(*anIt)))
break; // stop if the object is not dumped yet (parent feature should be postponed)