From 4967ea0f2a990c7e7b5b4593ce01f6a7202f2a31 Mon Sep 17 00:00:00 2001
From: Gilles Marckmann <gilles.marckmann@ec-nantes.fr>
Date: Fri, 22 Oct 2010 13:50:07 +0000
Subject: [PATCH] bug correction for bad trackball motion

---
 Graphics/drawContext.cpp | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/Graphics/drawContext.cpp b/Graphics/drawContext.cpp
index a0e49511eb..70ed856ae6 100644
--- a/Graphics/drawContext.cpp
+++ b/Graphics/drawContext.cpp
@@ -253,9 +253,13 @@ void drawContext::draw3d()
   initProjection();
   initRenderModel();
 
-  double _camera;
-  GmshGetOption("General", "Camera", _camera);
-  if (!_camera)     initPosition();
+  //  double _camera;
+  //  GmshGetOption("General", "Camera", _camera);
+  //  if (_camera)  {}
+  //  else{
+  //    initPosition();
+  //  }
+  initPosition();
   drawAxes();
   drawGeom();
   drawMesh();
-- 
GitLab