This commit is contained in:
eap 2013-11-13 14:39:43 +00:00
parent 39fabf09c1
commit 62e1c11b6d

View File

@ -6609,7 +6609,7 @@ void SMESHGUI::restoreVisualParameters (int savePoint)
anAllActors->InitTraversal(); anAllActors->InitTraversal();
while( vtkActor* aVTKActor = anAllActors->GetNextActor() ) while( vtkActor* aVTKActor = anAllActors->GetNextActor() )
if( SMESH_Actor* anActor = SMESH_Actor::SafeDownCast( aVTKActor ) ) if( SMESH_Actor* anActor = SMESH_Actor::SafeDownCast( aVTKActor ) )
anActor->SetOpenGLClippingPlane(); anActor->SetOpenGLClippingPlane();
vtkView->getRenderer()->ResetCameraClippingRange(); vtkView->getRenderer()->ResetCameraClippingRange();
vtkView->Repaint(); vtkView->Repaint();