From 2799c8e9909ebc3a8e25946463cb259713daa5c1 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Wed, 28 Dec 2011 21:32:56 +0100 Subject: [PATCH] Enable OpenCSG as default for capable OpenGL 1.x contexts as this appears to be the normal situation --- src/OpenCSGWarningDialog.ui | 3 +++ src/Preferences.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/OpenCSGWarningDialog.ui b/src/OpenCSGWarningDialog.ui index f9025217..fe3f192b 100644 --- a/src/OpenCSGWarningDialog.ui +++ b/src/OpenCSGWarningDialog.ui @@ -33,6 +33,9 @@ p, li { white-space: pre-wrap; } Enable OpenCSG + + true + diff --git a/src/Preferences.cc b/src/Preferences.cc index 59f8d236..1f52311f 100644 --- a/src/Preferences.cc +++ b/src/Preferences.cc @@ -50,7 +50,7 @@ Preferences::Preferences(QWidget *parent) : QMainWindow(parent) this->defaultmap["editor/fontfamily"] = this->fontChooser->currentText(); this->defaultmap["editor/fontsize"] = this->fontSize->currentText().toUInt(); this->defaultmap["advanced/opencsg_show_warning"] = true; - this->defaultmap["advanced/enable_opencsg_opengl1x"] = false; + this->defaultmap["advanced/enable_opencsg_opengl1x"] = true; // Toolbar QActionGroup *group = new QActionGroup(this);