diff --git a/Common/GmshMessage.cpp b/Common/GmshMessage.cpp index 6187ecfdebe03c02dc574a7455b78fadc5dd9fdb..bd95c0f317f5b397aff89861463654a7458de894 100644 --- a/Common/GmshMessage.cpp +++ b/Common/GmshMessage.cpp @@ -810,7 +810,6 @@ void Msg::ImportPhysicalsAsOnelabRegions() onelab::region p(name, num.str()); p.setDimension(dim); p.setReadOnly(true); - p.setAttribute("Closed", "1"); _onelabClient->set(p); } } diff --git a/Common/onelabUtils.cpp b/Common/onelabUtils.cpp index ba76aac2cc90e065039734f9ff9704d65ea2a8ca..6eacf624ff7cc897ab16c4053cde15dd131a2325 100644 --- a/Common/onelabUtils.cpp +++ b/Common/onelabUtils.cpp @@ -68,6 +68,7 @@ namespace onelabUtils { } onelab::string o("Gmsh/MshFileName", name, "Mesh name"); o.setKind("file"); + o.setAttribute("Closed", "1"); c->set(o); return name; }