From c715a4c96014dc5677fa8373747c57d28c8bf7aa Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 27 Dec 2004 08:29:38 +0000
Subject: [PATCH] /scale[0]

---
 Plugin/Probe.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Plugin/Probe.cpp b/Plugin/Probe.cpp
index 5fef230f0d..83de364b99 100644
--- a/Plugin/Probe.cpp
+++ b/Plugin/Probe.cpp
@@ -1,4 +1,4 @@
-// $Id: Probe.cpp,v 1.1 2004-12-27 07:31:14 geuzaine Exp $
+// $Id: Probe.cpp,v 1.2 2004-12-27 08:29:38 geuzaine Exp $
 //
 // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
 //
@@ -79,7 +79,7 @@ void GMSH_ProbePlugin::draw()
   }
   else{
     // draw a small marker
-    double d = 10 * CTX.pixel_equiv_x;
+    double d = 10 * CTX.pixel_equiv_x / CTX.s[0];
     glBegin(GL_LINES);
     glVertex3d(x-d,y,z); glVertex3d(x+d,y,z);
     glVertex3d(x,y-d,z); glVertex3d(x,y+d,z);
-- 
GitLab