if ( myContext.IsNull() )
return;
+ bool isDeactivateSelection = false;
// Try to retrieve information from object
if ( !myObject.IsNull() )
{
setTextureFileName( aTextureFileName, false, false );
setFace( aWire, false, false );
+ isDeactivateSelection = true;
}
else if ( myObject->IsKind( STANDARD_TYPE(HYDROData_Profile) ) )
{
return;
myContext->Display( myShape, theIsUpdateViewer );
+ if (isDeactivateSelection)
+ myContext->Deactivate(myShape);
}
void HYDROGUI_Shape::setVisible( const bool theState,