[Bf-blender-cvs] [90b8960bf61] greasepencil-object: Remove duplicate line

Antonio Vazquez noreply at git.blender.org
Fri Mar 2 16:53:49 CET 2018


Commit: 90b8960bf61cfaefc64cdbd7c55b72f1bbdaef58
Author: Antonio Vazquez
Date:   Fri Mar 2 16:41:00 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rB90b8960bf61cfaefc64cdbd7c55b72f1bbdaef58

Remove duplicate line

This line had to be removed in a previous commit.

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

M	source/blender/editors/gpencil/gpencil_utils.c

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

diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c
index c5533353e76..bd5218b2fef 100644
--- a/source/blender/editors/gpencil/gpencil_utils.c
+++ b/source/blender/editors/gpencil/gpencil_utils.c
@@ -1422,8 +1422,6 @@ static void gp_brush_drawcursor(bContext *C, int x, int y, void *customdata)
 		immVertex2f(pos, last_mouse_position[0], last_mouse_position[1]);
 		immEnd();
 
-		immUnbindProgram();
-
 		glDisable(GL_BLEND);
 		glDisable(GL_LINE_SMOOTH);
 	}



More information about the Bf-blender-cvs mailing list