mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +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)
|
||||
{
|
||||
if ( IsDisplayed() )
|
||||
if ( IsDisplayed() || theIsRemove)
|
||||
{
|
||||
AISErase(theIsRemove);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user