- aisShape = gb->ConvertIOinGEOMAISShape( It.Value(), found );
- if ( found ) {
- ic->SetTransparency( aisShape, newValue, false );
- ic->Redisplay( aisShape, Standard_False, Standard_True );
+ aisShape = gb->ConvertIOinGEOMAISShape( It.Value(), true );
+ if ( !aisShape.IsNull() ) {
+ ic->SetTransparency( aisShape, newValue, false );
+ ic->Redisplay( aisShape, Standard_False, Standard_True );
+ aStudy->setObjectProperty( aMgrId , It.Value()->getEntry(), TRANSPARENCY_PROP , newValue );