summaryrefslogtreecommitdiff
path: root/src/glview.cc
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2010-02-09 06:06:37 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2010-02-09 06:06:37 (GMT)
commit3b2824de581d6c50df4a2ffa53e46cd13385984b (patch)
tree72d6ed23b5685f37eb043ec6cf9338b0b0a911da /src/glview.cc
parent33b37f342415fae6b3a14147d189fafc6815e26b (diff)
Clifford Wolf:
Switched to OpenCSG-1.3.0 for MDI support (this version does not leak GL off screen buffers ;-) git-svn-id: http://svn.clifford.at/openscad/trunk@416 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'src/glview.cc')
-rw-r--r--src/glview.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glview.cc b/src/glview.cc
index dc42a7f..29046e0 100644
--- a/src/glview.cc
+++ b/src/glview.cc
@@ -65,6 +65,8 @@ GLView::GLView(QWidget *parent) : QGLWidget(parent)
setMouseTracking(true);
#ifdef ENABLE_OPENCSG
opencsg_support = true;
+ static int sId = 0;
+ opencsg_id = sId++;
#endif
}
contact: Jan Huwald // Impressum