1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0029739: Draw Harness - vdonly does not hide displayed objects

This commit is contained in:
nds
2018-05-07 14:20:38 +03:00
committed by abv
parent fbcef69b1a
commit b4dfd43648
2 changed files with 14 additions and 1 deletions

View File

@@ -2956,7 +2956,7 @@ static int VDonly2 (Draw_Interpretor& ,
}
const Handle(AIS_InteractiveObject) aShape = Handle(AIS_InteractiveObject)::DownCast (anIter.Key1());
if (aShape.IsNull())
if (!aShape.IsNull())
{
aCtx->Erase (aShape, Standard_False);
}