From 0e84ebcabd8bb4ef8f4fcc3340b3a85ba3ea7c06 Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 6 Sep 2016 11:11:01 +0300 Subject: [PATCH] Fix a regression with size of the vertexes. --- src/VTKViewer/VTKViewer_PolyDataMapper.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/VTKViewer/VTKViewer_PolyDataMapper.cxx b/src/VTKViewer/VTKViewer_PolyDataMapper.cxx index 35dedc6fb..d34ea33c3 100644 --- a/src/VTKViewer/VTKViewer_PolyDataMapper.cxx +++ b/src/VTKViewer/VTKViewer_PolyDataMapper.cxx @@ -840,7 +840,6 @@ void VTKViewer_PolyDataMapper::InternalDraw(vtkRenderer* ren, vtkActor* act ) { } int* aSize = this->ImageData->GetDimensions(); - //glPointSize( std::max( aSize[0], aSize[1] ) ); int aMode = 0; // to remove { @@ -945,7 +944,7 @@ void VTKViewer_PolyDataMapper::InternalDraw(vtkRenderer* ren, vtkActor* act ) { #else GLuint aBufferObjectID, aDiamsID = 0; GLint attribute_diams = -1; - + glPointSize( std::max( aSize[0], aSize[1] ) ); this->OpenGLHelper.vglGenBuffersARB( 1, &aBufferObjectID ); this->OpenGLHelper.vglBindBufferARB( GL_ARRAY_BUFFER_ARB, aBufferObjectID ); -- 2.39.2