if ( on ) {
myAISContext->Display( myTrihedron,
0 /*wireframe*/,
- 0 /* selection mode */,
+ -1 /* selection mode */,
Standard_True /* update viewer*/,
- Standard_True /* allow decomposition */,
+ Standard_False /* allow decomposition */,
AIS_DS_Displayed /* display status */);
myAISContext->Deactivate( myTrihedron );
}
bool allObjects = thePrs == 0 || thePrs->IsNull();
if ( !ic->HasOpenedContext() ) {
ic->ClearCurrents( false );
- ic->OpenLocalContext( allObjects, true, true );
+ ic->OpenLocalContext( Standard_False, Standard_True, Standard_True );
}
AIS_ListOfInteractive anObjs;