mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-25 22:37:55 +05:00
creating_meshes_ex02.py test is now OK
This commit is contained in:
parent
69dcc6bca7
commit
76e2778111
@ -366,7 +366,7 @@ void SMDS_UnstructuredGrid::copyBloc(vtkUnsignedCharArray * newTypes,
|
|||||||
vtkIdType oldLoc = ((vtkIdTypeArray *)(this->Connectivity->GetOffsetsArray()))->GetValue( iOld );
|
vtkIdType oldLoc = ((vtkIdTypeArray *)(this->Connectivity->GetOffsetsArray()))->GetValue( iOld );
|
||||||
vtkIdType nbpts;
|
vtkIdType nbpts;
|
||||||
vtkIdType const *oldPtsCell(nullptr);
|
vtkIdType const *oldPtsCell(nullptr);
|
||||||
this->Connectivity->GetCell( oldLoc, nbpts, oldPtsCell );
|
this->Connectivity->GetCell( oldLoc+iOld, nbpts, oldPtsCell );
|
||||||
if ((vtkIdType) pointsCell.size() < nbpts )
|
if ((vtkIdType) pointsCell.size() < nbpts )
|
||||||
pointsCell.resize( nbpts );
|
pointsCell.resize( nbpts );
|
||||||
for ( int l = 0; l < nbpts; l++ )
|
for ( int l = 0; l < nbpts; l++ )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user