mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-26 09:07:55 +05:00
PAL11188: PAL_NO_ERROR on Explode, if the main shape is not displayed, but some of its sub-shapes are.
This commit is contained in:
parent
4af204fbc1
commit
0c66d62337
@ -838,12 +838,13 @@ void GEOM_Displayer::LocalSelection( const Handle(SALOME_InteractiveObject)& the
|
|||||||
sm->clearFilters();
|
sm->clearFilters();
|
||||||
|
|
||||||
SALOME_View* vf = GetActiveView();
|
SALOME_View* vf = GetActiveView();
|
||||||
if ( vf )
|
if ( vf ) {
|
||||||
{
|
if (!theIO.IsNull() && !vf->isVisible(theIO))
|
||||||
SALOME_Prs* prs = vf->CreatePrs( theIO.IsNull() ? 0 : theIO->getEntry() );
|
Display(theIO);
|
||||||
vf->LocalSelection( prs, theMode );
|
SALOME_Prs* prs = vf->CreatePrs( theIO.IsNull() ? 0 : theIO->getEntry() );
|
||||||
delete prs; // delete presentation because displayer is its owner
|
vf->LocalSelection( prs, theMode );
|
||||||
}
|
delete prs; // delete presentation because displayer is its owner
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=================================================================
|
//=================================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user