From: rnv Date: Thu, 17 Nov 2016 11:58:57 +0000 (+0300) Subject: Fix for '23388: EDF 13823 SMESH: Size of MED_BALL in SMESH' issue. X-Git-Tag: V8_2_0rc1~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=73efadc0e7be3ac562c327120c9a1896c54b69dc;p=modules%2Fgui.git Fix for '23388: EDF 13823 SMESH: Size of MED_BALL in SMESH' issue. --- diff --git a/src/VTKViewer/resources/Point.vs.glsl b/src/VTKViewer/resources/Point.vs.glsl index 50f109e63..b753b953f 100644 --- a/src/VTKViewer/resources/Point.vs.glsl +++ b/src/VTKViewer/resources/Point.vs.glsl @@ -19,7 +19,7 @@ void main() gl_Position = uModelViewProjectionMatrix * vec4 (Vertex.xyz, 1.0); if (uGeneralPointSize == -1) - gl_PointSize = 1400 * uProjectionMatrix[1].y * Diameter; + gl_PointSize = 700 * uProjectionMatrix[1].y * Diameter; else gl_PointSize = uGeneralPointSize; diff --git a/src/VTKViewer/resources/Vertex_Program_ARB.txt b/src/VTKViewer/resources/Vertex_Program_ARB.txt index 10eb1b536..7a86c180e 100644 --- a/src/VTKViewer/resources/Vertex_Program_ARB.txt +++ b/src/VTKViewer/resources/Vertex_Program_ARB.txt @@ -4,5 +4,5 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; gl_FrontColor = gl_Color; - gl_PointSize = 1400.0 * gl_ProjectionMatrix[1].y * diameter; + gl_PointSize = 700.0 * gl_ProjectionMatrix[1].y * diameter; }