for (anIter->Init(); anIter->More(); anIter->Next()) {
_PTR(SObject) aRefObj = anIter->Value();
_PTR(SObject) aFieldObj;
- if (!aRefObj->ReferencedObject(aFieldObj) ) continue;
+ if (!aRefObj->ReferencedObject(aFieldObj) )
+ continue;
addField(aFieldObj);
- if ( isRangeDefined() ) myFieldsAbsFrames.pop_back();
+ if ( isRangeDefined() )
+ myFieldsAbsFrames.pop_back();
FieldData& aData = getFieldData(getNbFields()-1);
anPrsIter->Init();
if (!anPrsIter->More()) continue;
_PTR(SObject) aPrsObj = anPrsIter->Value();
- if (!aPrsObj->FindAttribute(anAttr, "AttributeName")) continue;
+ if (!aPrsObj->FindAttribute(anAttr, "AttributeName"))
+ continue;
_PTR(AttributeName) aName (anAttr);
string aStr = aName->Value();
QString strName (aStr.c_str());
VISU::Storable::TRestoringMap aPrsMap;
VISU::Storable::StrToMap(strPrsIn,aPrsMap);
- aData.myPrs[0]->Restore(VISU::GetSObject(aPrsObj), aPrsMap);
+ aData.myPrs[0]->Restore(VISU::GetSObject(aData.myField), aPrsMap);
}
aData.myPrs[0]->GetOffset(aData.myOffset);
for (int i = 1; i < aData.myNbFrames; i++) {