Salome HOME
22359: Body Fitting algorithm: grid orientation
[modules/smesh.git] / src / SMESHGUI / SMESHGUI.cxx
index fe84076d7a339547451fbf0b77d567a6e350be11..1dca53b610cd8301da79b4cdb207d874c476244b 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);
@@ -2668,7 +2668,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
       else if ( theCommandID == 410 )
         aDlg = new SMESHGUI_UnionOfTrianglesDlg(this);
       else if ( theCommandID == 419 )
-        aDlg = new SMESHGUI_CuttingIntoTetraDlg(this);
+        aDlg = new SMESHGUI_SplitVolumesDlg(this);
       else
         aDlg = new SMESHGUI_CuttingOfQuadsDlg(this);
 
@@ -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();