From 7022910333604bb16f2e17d30efaf4e413a8d0ff Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 27 May 2011 13:48:58 +0000 Subject: [PATCH] revert last commit: init are made through DefaultOptions --- Common/Context.cpp | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/Common/Context.cpp b/Common/Context.cpp index 34f813b1e5..8cda494708 100644 --- a/Common/Context.cpp +++ b/Common/Context.cpp @@ -51,26 +51,11 @@ CTX::CTX() drawRotationCenter = 0; pickElements = 0; geom.draw = 1; - mesh.draw = 1; - mesh.qualityInf = mesh.qualitySup = mesh.radiusInf = mesh.radiusSup = mesh.qualityType = 0; - mesh.triangles = mesh.tetrahedra = mesh.quadrangles = mesh.prisms = mesh.pyramids = mesh.hexahedra = mesh.lines = 0; - mesh.volumesEdges = mesh.volumesFaces = mesh.surfacesEdges = mesh.surfacesFaces = 0; - mesh.volumesFaces = mesh.surfacesEdges = mesh.surfacesFaces = 0; - mesh.smoothInternalEdges = mesh.smoothNormals = mesh.reverseAllNormals = mesh.explode = mesh.angleSmoothNormals = 0; - mesh.colorCarousel = 0; - mesh.changed = 0; - - color.mesh.tangents = color.mesh.tetrahedron = color.mesh.triangle = color.mesh.prism = color.mesh.pyramid = color.mesh.hexahedron = 0; - color.mesh.tangents = color.mesh.line = color.mesh.quadrangle = 0; - for (int i = 0; i < 20; i++) - color.mesh.carousel[i] = 0; - post.draw = 1; - post.combineTime = 0; // try to combineTime views at startup - lock = 0; // very primitive locking - + mesh.changed = 0; + post.combineTime = 0; // try to combineTime views at startup #if defined(HAVE_FLTK) glFontEnum = FL_HELVETICA; #else -- GitLab