From: eap Date: Tue, 19 Mar 2013 08:36:53 +0000 (+0000) Subject: 0022150: [CEA 789] Projection_1D2D not taken into account by BLSURF X-Git-Tag: pluginMGCleaner~43 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e03f3c1659c2bb5796cef95649922117f51ce824;p=modules%2Fsmesh.git 0022150: [CEA 789] Projection_1D2D not taken into account by BLSURF Fix a problem with visualisation of 'left_translated' mesh. SMDS_Mesh::SMDS_Mesh() { ... - points->SetNumberOfPoints(SMDS_Mesh::chunkSize); + points->SetNumberOfPoints(0); --- diff --git a/src/SMDS/SMDS_Mesh.cxx b/src/SMDS/SMDS_Mesh.cxx index 999df6d25..4e88226b7 100644 --- a/src/SMDS/SMDS_Mesh.cxx +++ b/src/SMDS/SMDS_Mesh.cxx @@ -160,10 +160,10 @@ SMDS_Mesh::SMDS_Mesh() myGrid->Initialize(); myGrid->Allocate(); vtkPoints* points = vtkPoints::New(); - // rnv: to fix bug "21125: EDF 1233 SMESH: Degrardation of precision in a test case for quadratic conversion" - // using double type for storing coordinates of nodes instead float. + // bug "21125: EDF 1233 SMESH: Degrardation of precision in a test case for quadratic conversion" + // Use double type for storing coordinates of nodes instead of float. points->SetDataType(VTK_DOUBLE); - points->SetNumberOfPoints(SMDS_Mesh::chunkSize); + points->SetNumberOfPoints(0 /*SMDS_Mesh::chunkSize*/); myGrid->SetPoints( points ); points->Delete(); myGrid->BuildLinks();