diff --git a/Parser/OpenFile.cpp b/Parser/OpenFile.cpp index 055a82d6110b7d24571f21616f9ab7f49b5669bf..5a9d5b2b25980116a48c33a2c937467b750833e3 100644 --- a/Parser/OpenFile.cpp +++ b/Parser/OpenFile.cpp @@ -1,4 +1,4 @@ -// $Id: OpenFile.cpp,v 1.16 2001-05-22 08:30:26 geuzaine Exp $ +// $Id: OpenFile.cpp,v 1.17 2001-05-29 13:49:32 geuzaine Exp $ #include "Gmsh.h" #include "Const.h" #include "Context.h" @@ -93,7 +93,8 @@ void OpenProblem(char *name){ Msg(INFO, "I'm busy! Ask me that later..."); return; } - + CTX.threads_lock = 1; + InitSymbols(); Init_Mesh(&M, 1); @@ -131,6 +132,8 @@ void OpenProblem(char *name){ ApplyLcFactor(THEM); + CTX.threads_lock = 0; + if(!status){ mai3d(THEM,0); Maillage_Dimension_0(&M);