mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0030214: Application Framework, TPrsStd_AISPresentation - Hidden Presentations Cannot Be Removed
This commit is contained in:
parent
a8b8f90dd3
commit
253cfde728
@ -134,7 +134,7 @@ void TPrsStd_AISPresentation::Display(const Standard_Boolean theIsUpdate)
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
void TPrsStd_AISPresentation::Erase(const Standard_Boolean theIsRemove)
|
void TPrsStd_AISPresentation::Erase(const Standard_Boolean theIsRemove)
|
||||||
{
|
{
|
||||||
if ( IsDisplayed() )
|
if ( IsDisplayed() || theIsRemove)
|
||||||
{
|
{
|
||||||
AISErase(theIsRemove);
|
AISErase(theIsRemove);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user