From: asl Date: Fri, 10 Jun 2005 03:37:51 +0000 (+0000) Subject: IPAL9142 X-Git-Tag: T3_0_0_a3~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=792462956dd1d73a68d681b931e91998d80a4500;p=modules%2Fsmesh.git IPAL9142 --- 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()); }