[Bf-blender-cvs] [cc43dd054fa] blender2.8: Recent commit state broke lattice vertex drawing

Campbell Barton noreply at git.blender.org
Fri Apr 28 10:42:24 CEST 2017


Commit: cc43dd054fa78daf469e89b6fa86031de8dd43bc
Author: Campbell Barton
Date:   Fri Apr 28 18:43:46 2017 +1000
Branches: blender2.8
https://developer.blender.org/rBcc43dd054fa78daf469e89b6fa86031de8dd43bc

Recent commit state broke lattice vertex drawing

e4d856e3 caused lattice vertices not to draw in editmode.

===================================================================

M	source/blender/gpu/intern/gpu_draw.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c
index aea5cccf2e7..93b372336cb 100644
--- a/source/blender/gpu/intern/gpu_draw.c
+++ b/source/blender/gpu/intern/gpu_draw.c
@@ -2273,7 +2273,7 @@ void GPU_state_init(void)
 
 #ifndef WITH_GL_PROFILE_CORE
 	/* TODO: remove this when we switch to core profile */
-	if (!GLEW_VERSION_3_2) {
+	{
 		glEnable(GL_POINT_SPRITE);
 	}
 #endif




More information about the Bf-blender-cvs mailing list