Skip to content
Snippets Groups Projects
Commit b6345b59 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

missing reset of l_faces and l_dirs

parent 73de7bfb
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,8 @@ gmshRegion::gmshRegion(GModel *m, ::Volume *volume) ...@@ -19,6 +19,8 @@ gmshRegion::gmshRegion(GModel *m, ::Volume *volume)
void gmshRegion::resetNativePtr(::Volume *volume) void gmshRegion::resetNativePtr(::Volume *volume)
{ {
v = volume; v = volume;
l_faces.clear();
l_dirs.clear();
for(int i = 0; i < List_Nbr(v->Surfaces); i++){ for(int i = 0; i < List_Nbr(v->Surfaces); i++){
Surface *s; Surface *s;
List_Read(v->Surfaces, i, &s); List_Read(v->Surfaces, i, &s);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment