diff --git a/Fltk/graphicWindow.cpp b/Fltk/graphicWindow.cpp index 51235194cb1f94e2b146b13f860e8b1a87a3685c..c5b82d650e43c98c037ce1b3a7dd3c966cfc5938 100644 --- a/Fltk/graphicWindow.cpp +++ b/Fltk/graphicWindow.cpp @@ -648,7 +648,6 @@ void graphicWindow::split(openglWindow *g, char how) g->resize(x1, y1, w1, h1); g2->resize(x2, y2, w2, h2); } - drawContext::global()->draw(); } void graphicWindow::setAnimButtons(int mode) diff --git a/Fltk/menuWindow.cpp b/Fltk/menuWindow.cpp index 20e5394d1112bdc55930c8d66450f4bea3d4644d..3f6ffb44fe47e11537661a58d16ebc90cadaffc9 100644 --- a/Fltk/menuWindow.cpp +++ b/Fltk/menuWindow.cpp @@ -242,6 +242,7 @@ static void file_window_cb(Fl_Widget *w, void *data) else if(str == "split_u"){ FlGui::instance()->splitCurrentOpenglWindow('u'); } + drawContext::global()->draw(); } static int _save_msh(const char *name){ return mshFileDialog(name); }