summaryrefslogtreecommitdiff
path: root/mainwin.cc
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-21 19:18:21 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-21 19:18:21 (GMT)
commit0a3a7b15794053299dbe16cf6fd5e42c27853945 (patch)
treec97266987e195dc3c849168c958ae96a649ca1d6 /mainwin.cc
parent9ce0a168d05901bd251e65af8bf652b49486639e (diff)
Added first mockup of a color scheme chooser
git-svn-id: http://svn.clifford.at/openscad/trunk@332 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'mainwin.cc')
-rw-r--r--mainwin.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/mainwin.cc b/mainwin.cc
index 783315a..975468f 100644
--- a/mainwin.cc
+++ b/mainwin.cc
@@ -273,6 +273,8 @@ MainWindow::MainWindow(const char *filename)
connect(editor->document(), SIGNAL(modificationChanged(bool)), fileActionSave, SLOT(setEnabled(bool)));
connect(screen, SIGNAL(doAnimateUpdate()), this, SLOT(animateUpdate()));
+ connect(Preferences::inst(), SIGNAL(requestRedraw()), this->screen, SLOT(updateGL()));
+
// display this window and check for OpenGL 2.0 (OpenCSG) support
viewModeThrownTogether();
show();
contact: Jan Huwald // Impressum