mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-05-06 07:20:48 +05:00
PAL22319 : Salome is suspended,when we create new Local coordinate system
This commit is contained in:
parent
8c904db605
commit
1fde2f4863
@ -1458,7 +1458,7 @@ void GEOM_Displayer::AfterDisplay( SALOME_View* v, const SALOME_OCCPrs* p )
|
|||||||
AIS_ListOfInteractive objects;
|
AIS_ListOfInteractive objects;
|
||||||
prs->GetObjects( objects );
|
prs->GetObjects( objects );
|
||||||
AIS_ListIteratorOfListOfInteractive it( objects );
|
AIS_ListIteratorOfListOfInteractive it( objects );
|
||||||
while( it.More() ) {
|
for ( ; it.More(); it.Next() ) {
|
||||||
Handle(GEOM_AISShape) sh = Handle(GEOM_AISShape)::DownCast( it.Value() );
|
Handle(GEOM_AISShape) sh = Handle(GEOM_AISShape)::DownCast( it.Value() );
|
||||||
if ( sh.IsNull() ) continue;
|
if ( sh.IsNull() ) continue;
|
||||||
Handle(SALOME_InteractiveObject) IO = sh->getIO();
|
Handle(SALOME_InteractiveObject) IO = sh->getIO();
|
||||||
@ -1467,7 +1467,6 @@ void GEOM_Displayer::AfterDisplay( SALOME_View* v, const SALOME_OCCPrs* p )
|
|||||||
if ( aPropMap.contains( TRANSPARENCY_PROP ) ) {
|
if ( aPropMap.contains( TRANSPARENCY_PROP ) ) {
|
||||||
double transparency = aPropMap.value(TRANSPARENCY_PROP).toDouble();
|
double transparency = aPropMap.value(TRANSPARENCY_PROP).toDouble();
|
||||||
ic->SetTransparency( sh, transparency, true );
|
ic->SetTransparency( sh, transparency, true );
|
||||||
it.Next();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user