[Bf-blender-cvs] [9291c0e3d73] greasepencil-object: Fix functions renamed by merged commit 6d359e

Antonio Vazquez noreply at git.blender.org
Thu Sep 14 12:50:22 CEST 2017


Commit: 9291c0e3d73db9e9c8e7e0443da3b76bfe9be7b7
Author: Antonio Vazquez
Date:   Thu Sep 14 12:50:05 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rB9291c0e3d73db9e9c8e7e0443da3b76bfe9be7b7

Fix functions renamed by merged commit 6d359e

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

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 c8bc0497541..0e09c180f2d 100644
--- a/source/blender/editors/gpencil/gpencil_utils.c
+++ b/source/blender/editors/gpencil/gpencil_utils.c
@@ -1422,11 +1422,11 @@ static void gp_brush_drawcursor(bContext *C, int x, int y, void *UNUSED(customda
 
 	/* Inner Ring: Color from UI panel */
 	immUniformColor4f(color[0], color[1], color[2], 0.8f);
-	imm_draw_circle_wire(pos, x, y, radius, 40);
+	imm_draw_circle_wire_2d(pos, x, y, radius, 40);
 	/* Outer Ring: Dark color for contrast on light backgrounds (e.g. gray on white) */
 	mul_v3_v3fl(darkcolor, color, 0.40f);
 	immUniformColor4f(darkcolor[0], darkcolor[1], darkcolor[2], 0.8f);
-	imm_draw_circle_wire(pos, x, y, radius + 1, 40);
+	imm_draw_circle_wire_2d(pos, x, y, radius + 1, 40);
 
 	immUnbindProgram();



More information about the Bf-blender-cvs mailing list