}
}
return displayed;
- } else if(VISU::Table_i* aTable = dynamic_cast<VISU::Table_i*>( VISU::GetServant( anObj ).in())) {
+ } else if( VISU::Table_i* aTable = dynamic_cast<VISU::Table_i*>( VISU::GetServant( anObj ).in()) ) {
+ SPlot2d_Viewer* view2D = dynamic_cast<SPlot2d_Viewer*>(vf);
+ if( !view2D )
+ return LightApp_Displayer::IsDisplayed(id, vf);
+
_PTR(SObject) TableSO = aStudy->studyDS()->FindObjectID( (const char*)id.toLatin1() );
if( TableSO ) {
_PTR(ChildIterator) Iter = aStudy->studyDS()->NewChildIterator( TableSO );