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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user