From 792462956dd1d73a68d681b931e91998d80a4500 Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 10 Jun 2005 03:37:51 +0000 Subject: [PATCH] IPAL9142 --- src/SMESHGUI/SMESHGUI_VTKUtils.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SMESHGUI/SMESHGUI_VTKUtils.cxx b/src/SMESHGUI/SMESHGUI_VTKUtils.cxx index f09225878..b918db58d 100644 --- a/src/SMESHGUI/SMESHGUI_VTKUtils.cxx +++ b/src/SMESHGUI/SMESHGUI_VTKUtils.cxx @@ -409,7 +409,8 @@ namespace SMESH{ _PTR(Study) aStudy = GetActiveStudyDocument(); CORBA::Long anId = aStudy->StudyId(); TVisualObjPtr aVisualObj = SMESH::GetVisualObj(anId,theIO->getEntry()); - aVisualObj->Update(); + if( aVisualObj ) + aVisualObj->Update(); if ( theDisplay ) UpdateView(SMESH::eDisplay,theIO->getEntry()); } -- 2.39.2