From: eap Date: Thu, 17 Nov 2011 11:20:18 +0000 (+0000) Subject: untabify X-Git-Tag: V6_4_0rc1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=824b154851e2f100002fe757fc39b694754bcf5b;p=modules%2Fsmesh.git untabify --- diff --git a/src/OBJECT/SMESH_ExtractGeometry.cxx b/src/OBJECT/SMESH_ExtractGeometry.cxx index 63023dd84..db42da397 100644 --- a/src/OBJECT/SMESH_ExtractGeometry.cxx +++ b/src/OBJECT/SMESH_ExtractGeometry.cxx @@ -239,14 +239,14 @@ int SMESH_ExtractGeometry::RequestData( if ( npts >= numCellPts || (this->ExtractBoundaryCells && npts > 0) ) { - if(cell->GetCellType() == VTK_POLYHEDRON) { - newCellPts->Reset(); - vtkUnstructuredGrid::SafeDownCast(input)->GetFaceStream( cellId ,newCellPts ); - vtkUnstructuredGrid::ConvertFaceStreamPointIds(newCellPts, pointMap); - } - newCellId = output->InsertNextCell(cell->GetCellType(),newCellPts); - myElemVTK2ObjIds.push_back(cellId); - outputCD->CopyData(cd,cellId,newCellId); + if(cell->GetCellType() == VTK_POLYHEDRON) { + newCellPts->Reset(); + vtkUnstructuredGrid::SafeDownCast(input)->GetFaceStream( cellId ,newCellPts ); + vtkUnstructuredGrid::ConvertFaceStreamPointIds(newCellPts, pointMap); + } + newCellId = output->InsertNextCell(cell->GetCellType(),newCellPts); + myElemVTK2ObjIds.push_back(cellId); + outputCD->CopyData(cd,cellId,newCellId); } }//for all cells