summaryrefslogtreecommitdiff
path: root/src/OffscreenView.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-02-24 03:54:53 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-02-24 03:54:53 (GMT)
commitca41979ee514f642c506e4f4d81461f19b587bf2 (patch)
treef31feb004d0b724d5240c8a227c7f0c886939a1b /src/OffscreenView.cc
parenteff16283358217b43b310269a72e0cb47357a8b3 (diff)
parentabc9da96c89b337377ee62ac29ee54e4e7b0a514 (diff)
Merge branch 'master' of github.com:openscad/openscad into issue11_2
Conflicts: RELEASE_NOTES openscad.pro src/mainwin.cc
Diffstat (limited to 'src/OffscreenView.cc')
-rw-r--r--src/OffscreenView.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/OffscreenView.cc b/src/OffscreenView.cc
index b7d1deb..aa8570e 100644
--- a/src/OffscreenView.cc
+++ b/src/OffscreenView.cc
@@ -16,25 +16,9 @@
OffscreenView::OffscreenView(size_t width, size_t height)
{
- orthomode = false;
- showaxes = false;
- showfaces = true;
- showedges = false;
object_rot << 35, 0, 25;
- camera_eye << 0, 0, 0;
- camera_center << 0, 0, 0;
-
-#ifdef ENABLE_OPENCSG
- is_opencsg_capable = false;
- has_shaders = false;
- opencsg_support = true;
- static int sId = 0;
- this->opencsg_id = sId++;
- for (int i = 0; i < 10; i++) this->shaderinfo[i] = 0;
-#endif
this->ctx = create_offscreen_context(width, height);
if ( this->ctx == NULL ) throw -1;
-
initializeGL();
GLView::resizeGL(width, height);
}
contact: Jan Huwald // Impressum