Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db1b536
)
creating_meshes_ex02.py test is now OK
author
Anthony Geay
<anthony.geay@edf.fr>
Mon, 2 Mar 2020 08:19:46 +0000
(09:19 +0100)
committer
vsr
<vsr@opencascade.com>
Mon, 2 Mar 2020 10:58:37 +0000
(13:58 +0300)
src/SMDS/SMDS_UnstructuredGrid.cxx
patch
|
blob
|
history
diff --git
a/src/SMDS/SMDS_UnstructuredGrid.cxx
b/src/SMDS/SMDS_UnstructuredGrid.cxx
index ce46543bf730bd4860d520c61d752626273dc91d..e06cf3ba2ca20b4b94634662f4fcf245ffd87049 100644
(file)
--- a/
src/SMDS/SMDS_UnstructuredGrid.cxx
+++ b/
src/SMDS/SMDS_UnstructuredGrid.cxx
@@
-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++ )