This commit is contained in:
asl 2005-06-10 03:37:51 +00:00
parent f2af320581
commit 792462956d

View File

@ -409,7 +409,8 @@ namespace SMESH{
_PTR(Study) aStudy = GetActiveStudyDocument(); _PTR(Study) aStudy = GetActiveStudyDocument();
CORBA::Long anId = aStudy->StudyId(); CORBA::Long anId = aStudy->StudyId();
TVisualObjPtr aVisualObj = SMESH::GetVisualObj(anId,theIO->getEntry()); TVisualObjPtr aVisualObj = SMESH::GetVisualObj(anId,theIO->getEntry());
aVisualObj->Update(); if( aVisualObj )
aVisualObj->Update();
if ( theDisplay ) if ( theDisplay )
UpdateView(SMESH::eDisplay,theIO->getEntry()); UpdateView(SMESH::eDisplay,theIO->getEntry());
} }