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

model should get a name as soon as we add something into it

parent 02cf5bd7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment