diff --git a/Plugin/Probe.cpp b/Plugin/Probe.cpp index 5fef230f0d4cce220fe94786fc82cc35e7bf1721..83de364b99824904b8b34cfefc456a3bcdc240ef 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);