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:
parent
a81bd74a38
commit
7c3daf20d1
@ -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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user