mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-10 04:17:44 +08:00
0030214: Application Framework, TPrsStd_AISPresentation - Hidden Presentations Cannot Be Removed
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user