1
0
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:
vro 2018-10-24 14:04:57 +03:00 committed by apn
parent a8b8f90dd3
commit 253cfde728

View File

@ -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);
} }