diff --git a/ng/ngpkg.cpp b/ng/ngpkg.cpp index 6e3ab925..a2572395 100644 --- a/ng/ngpkg.cpp +++ b/ng/ngpkg.cpp @@ -218,7 +218,6 @@ namespace netgen try { - //mesh -> Load (filename); ifstream infile(filename.c_str()); mesh -> Load(infile); @@ -3096,8 +3095,8 @@ void PlayAnimFile(const char* name, int speed, int maxcnt) #ifdef _MSC_VER Ng_stl_Init(interp); Ng_geom2d_Init (interp); -#ifdef OCCGEOMETRY - Ng_occ_Init (interp); +#ifdef OCCGEOMETRY + Ng_occ_Init (interp); #endif #endif diff --git a/ng/parallelfunc.cpp b/ng/parallelfunc.cpp index ecf775ff..b22a3b3e 100644 --- a/ng/parallelfunc.cpp +++ b/ng/parallelfunc.cpp @@ -70,7 +70,6 @@ using netgen::RegisterUserFormats; - void ParallelRun() { string message; @@ -82,6 +81,7 @@ void ParallelRun() if (parameters.StringFlagDefined ("testout")) testout = new ofstream (string("testout_proc") + id ); + while ( true ) @@ -296,6 +296,11 @@ void ParallelRun() vssolution.DrawSurfaceElements(); } + if (redraw_cmd == "solsurfellinelist") + { + vssolution.DrawSurfaceElementLines(); + } + if (redraw_cmd == "clipplanetrigs") { vssolution.DrawClipPlaneTrigs();