prevent access to Null anIO

This commit is contained in:
eap 2012-01-16 11:25:16 +00:00
parent 147d0719d7
commit f74a6e0993

View File

@ -942,7 +942,6 @@ void GEOM_Displayer::Update( SALOME_OCCPrs* prs )
}
}
}
}
// get material properties, set material
Material_Model* aModelF = 0;
@ -1003,6 +1002,7 @@ void GEOM_Displayer::Update( SALOME_OCCPrs* prs )
if ( aModelB )
delete aModelB;
}
// AISShape->SetName(???); ??? necessary to set name ???
occPrs->AddObject( AISShape );