]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for '23388: EDF 13823 SMESH: Size of MED_BALL in SMESH' issue.
authorrnv <rnv@opencascade.com>
Thu, 17 Nov 2016 11:58:57 +0000 (14:58 +0300)
committerrnv <rnv@opencascade.com>
Thu, 17 Nov 2016 11:58:57 +0000 (14:58 +0300)
src/VTKViewer/resources/Point.vs.glsl
src/VTKViewer/resources/Vertex_Program_ARB.txt

index 50f109e639d17c4cdbec8d1f8194b326c4d9ba20..b753b953f6818bcae61de62f57da107c683bd8bc 100644 (file)
@@ -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;
 
index 10eb1b536431447a91e81f151b52d6d46bb393aa..7a86c180edd3d92daf0fe82ed15697ae877343fa 100644 (file)
@@ -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;
 }