mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-30 19:30:35 +05:00
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);
This commit is contained in:
parent
a83c7a3df1
commit
e03f3c1659
@ -160,10 +160,10 @@ SMDS_Mesh::SMDS_Mesh()
|
|||||||
myGrid->Initialize();
|
myGrid->Initialize();
|
||||||
myGrid->Allocate();
|
myGrid->Allocate();
|
||||||
vtkPoints* points = vtkPoints::New();
|
vtkPoints* points = vtkPoints::New();
|
||||||
// rnv: to fix bug "21125: EDF 1233 SMESH: Degrardation of precision in a test case for quadratic conversion"
|
// 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.
|
// Use double type for storing coordinates of nodes instead of float.
|
||||||
points->SetDataType(VTK_DOUBLE);
|
points->SetDataType(VTK_DOUBLE);
|
||||||
points->SetNumberOfPoints(SMDS_Mesh::chunkSize);
|
points->SetNumberOfPoints(0 /*SMDS_Mesh::chunkSize*/);
|
||||||
myGrid->SetPoints( points );
|
myGrid->SetPoints( points );
|
||||||
points->Delete();
|
points->Delete();
|
||||||
myGrid->BuildLinks();
|
myGrid->BuildLinks();
|
||||||
|
Loading…
Reference in New Issue
Block a user