]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
IPAL9142
authorasl <asl@opencascade.com>
Fri, 10 Jun 2005 03:37:51 +0000 (03:37 +0000)
committerasl <asl@opencascade.com>
Fri, 10 Jun 2005 03:37:51 +0000 (03:37 +0000)
src/SMESHGUI/SMESHGUI_VTKUtils.cxx

index f09225878fdd3a61f1f9977713c482bab8d082e7..b918db58dd3b97815a6eda2571f020e04a26a026 100644 (file)
@@ -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());
   }