aType == VISU::TPOINTMAP3D || aType == VISU::TVIEW3D ||
aType == VISU::TPOINTMAP3D || aType == VISU::TGAUSSPOINTS)
return true;
+ } else {
+ VISU::Storable::TRestoringMap aMap = VISU::Storable::GetStorableMap(anObjectInfo.mySObject);
+ bool anIsExist;
+ QString aVal = VISU::Storable::FindValue(aMap, "myComment", &anIsExist);
+ return anIsExist && "VIEW3D" == aVal;
}
return false;
}
_PTR(SObject) aSObject = anObjectInfo.mySObject;
if (aSObject) {
VISU::Base_i* aBase = anObjectInfo.myBase;
+ VISU::Storable::TRestoringMap aMap = VISU::Storable::GetStorableMap(anObjectInfo.mySObject);
if(aBase){
VISU::VISUType aType = aBase->GetType();
if( aType == VISU::TCOLOREDPRS3DHOLDER ) {
return true;
}
}
+ //Rename visual params
+ }
+ } else {
+ bool anIsExist;
+ QString aVal = VISU::Storable::FindValue(aMap, "myComment", &anIsExist);
+ if(anIsExist && "VIEW3D" == aVal) {
+ _PTR(GenericAttribute) anAttr;
+ if (aSObject->FindAttribute(anAttr, "AttributeName")) {
+ _PTR(AttributeName) aName (anAttr);
+ if (!name.isEmpty()) {
+ aName->SetValue(qPrintable(name));
+ }
+ }
}
}
}