From 73efadc0e7be3ac562c327120c9a1896c54b69dc Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 17 Nov 2016 14:58:57 +0300 Subject: [PATCH] Fix for '23388: EDF 13823 SMESH: Size of MED_BALL in SMESH' issue. --- src/VTKViewer/resources/Point.vs.glsl | 2 +- src/VTKViewer/resources/Vertex_Program_ARB.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2