1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0032676: Draw Harness, ViewerTest - fix NULL dereference on vanim -remove

This commit is contained in:
kgv 2021-11-22 01:38:11 +03:00 committed by smoskvin
parent a81bd74a38
commit 7c3daf20d1

View File

@ -7184,7 +7184,7 @@ static Standard_Integer VAnimation (Draw_Interpretor& theDI,
|| anArg == "-del"
|| anArg == "-delete")
{
if (!aParentAnimation.IsNull())
if (aParentAnimation.IsNull())
{
ViewerTest_AnimationTimelineMap.UnBind (anAnimation->Name());
}