creating_meshes_ex02.py test is now OK

This commit is contained in:
Anthony Geay 2020-03-02 09:19:46 +01:00 committed by vsr
parent db1b536077
commit 63b50e5655

View File

@ -366,7 +366,7 @@ void SMDS_UnstructuredGrid::copyBloc(vtkUnsignedCharArray * newTypes,
vtkIdType oldLoc = ((vtkIdTypeArray *)(this->Connectivity->GetOffsetsArray()))->GetValue( iOld );
vtkIdType nbpts;
vtkIdType const *oldPtsCell(nullptr);
this->Connectivity->GetCell( oldLoc, nbpts, oldPtsCell );
this->Connectivity->GetCell( oldLoc+iOld, nbpts, oldPtsCell );
if ((vtkIdType) pointsCell.size() < nbpts )
pointsCell.resize( nbpts );
for ( int l = 0; l < nbpts; l++ )