insertFilterInViewer();
if (!myFilter[ aCurrType ]->GetPredicate()->_is_nil()) {
- //
+ //
bool toFilter = (( SMESH::FindActorByObject( myMesh )) ||
( myInitSourceWgOnApply && mySourceWg ) ||
( mySourceGrp->checkedId() == Dialog && mySourceWg ));
filterSource(aCurrType, aResultIds);
// select in viewer
selectInViewer(aCurrType, aResultIds);
+ // set ids to the dialog
+ if ( myInitSourceWgOnApply || mySourceGrp->checkedId() == Dialog )
+ setIdsToWg(mySourceWg, aResultIds);
}
}
// insert previously stored filter in viewer if necessary
if (!aFilter.IsNull())
SMESH::SetFilter(aFilter);
-
- // set ids to the dialog
- if (myInitSourceWgOnApply || mySourceGrp->checkedId() == Dialog)
- setIdsToWg(mySourceWg, theIds);
}
//=======================================================================