From 367b3afb4fba0e0ea61a7b67df2ad9f43db77602 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 6 Apr 2011 09:22:33 +0000 Subject: [PATCH] missing redraw --- Fltk/graphicWindow.cpp | 1 - Fltk/menuWindow.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Fltk/graphicWindow.cpp b/Fltk/graphicWindow.cpp index 51235194cb..c5b82d650e 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 20e5394d11..3f6ffb44fe 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); } -- GitLab