mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-22 15:00:33 +05:00
prevent access to Null anIO
This commit is contained in:
parent
147d0719d7
commit
f74a6e0993
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user