From 5e31f1e393a29c0cd21690b83db63c428740769f Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 4 Mar 2016 17:42:21 +0000 Subject: [PATCH] model should get a name as soon as we add something into it --- Geo/GeoStringInterface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Geo/GeoStringInterface.cpp b/Geo/GeoStringInterface.cpp index 182ac6cd06..3da2542988 100644 --- a/Geo/GeoStringInterface.cpp +++ b/Geo/GeoStringInterface.cpp @@ -101,6 +101,7 @@ void add_infile(const std::string &text, const std::string &fileName, bool force GModel::current()->destroy(); } GModel::current()->importGEOInternals(); + GModel::current()->setName(split[1]); CTX::instance()->mesh.changed = ENT_ALL; // here we have to be explicit otherwise we append compressed stuff to ascii -- GitLab