Salome HOME
untabify
[modules/smesh.git] / src / OBJECT / SMESH_Object.cxx
index 466b9af6483a19faa7fa49f2664209759f5444b5..94cf59d5fed22152a22ca40ad3e87d85dde2f79c 100644 (file)
@@ -281,8 +281,8 @@ void SMESH_VisualObjDef::buildPrs(bool buildGrid)
         //MESSAGE( "Update - myGrid->GetNumberOfCells() = "<<myGrid->GetNumberOfCells() );
         //MESSAGE( "Update - myGrid->GetNumberOfPoints() = "<<myGrid->GetNumberOfPoints() );
         if( MYDEBUGWITHFILES ) {
-         SMESH::WriteUnstructuredGrid( myGrid,"myPrs.vtu" );
-       }
+          SMESH::WriteUnstructuredGrid( myGrid,"myPrs.vtu" );
+        }
   }
 }
 
@@ -486,17 +486,17 @@ void SMESH_VisualObjDef::buildElemPrs()
         }
         vtkIdType aCurId = aConnectivity->InsertNextCell( anIdList );
         aCellTypesArray->InsertNextValue( vtkElemType );
-       
-       //Store diameters of the balls
-       if(aScalars) {
-         double aDiam = 0;
-         if(aType == SMDSAbs_Ball) {
-           if (const SMDS_BallElement* ball = dynamic_cast<const SMDS_BallElement*>(anElem) ) {
-             aDiam = ball->GetDiameter();
-           }
-         }
-         aScalars->SetTuple(aCurId,&aDiam);
-       }
+        
+        //Store diameters of the balls
+        if(aScalars) {
+          double aDiam = 0;
+          if(aType == SMDSAbs_Ball) {
+            if (const SMDS_BallElement* ball = dynamic_cast<const SMDS_BallElement*>(anElem) ) {
+              aDiam = ball->GetDiameter();
+            }
+          }
+          aScalars->SetTuple(aCurId,&aDiam);
+        }
 
         iElem++;
       }