]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESHGUI/SMESHGUI.cxx
Salome HOME
"viscous layer 3d around foil"
[modules/smesh.git] / src / SMESHGUI / SMESHGUI.cxx
index fe84076d7a339547451fbf0b77d567a6e350be11..6fb58cea1ddc998627ad5579751107b9cb734c47 100644 (file)
         new SalomeApp_CheckFileDlg ( SMESHGUI::desktop(), false, checkBoxes, true, true );
       fd->setWindowTitle( aTitle );
       fd->setNameFilters( filters );
-      fd->selectNameFilter(aDefaultFilter);
-      fd->SetChecked(0,toCreateGroups);
-      fd->SetChecked(1,toFindOutDim);
+      fd->selectNameFilter( aDefaultFilter );
+      fd->SetChecked( toCreateGroups, 0 );
+      fd->SetChecked( toFindOutDim,   1 );
       if ( !anInitialPath.isEmpty() )
         fd->setDirectory( anInitialPath );
       fd->selectFile(aMeshName);
@@ -6609,7 +6609,7 @@ void SMESHGUI::restoreVisualParameters (int savePoint)
       anAllActors->InitTraversal();
       while( vtkActor* aVTKActor = anAllActors->GetNextActor() )
         if( SMESH_Actor* anActor = SMESH_Actor::SafeDownCast( aVTKActor ) )
-         anActor->SetOpenGLClippingPlane();
+          anActor->SetOpenGLClippingPlane();
       
       vtkView->getRenderer()->ResetCameraClippingRange();
       vtkView->Repaint();