[Bf-blender-cvs] [1569196cf26] greasepencil-object: GP: Change Circle primitive control points

Charlie Jolly noreply at git.blender.org
Wed Dec 12 02:09:29 CET 2018


Commit: 1569196cf2606d6da0c98f0726aba41f0198a5da
Author: Charlie Jolly
Date:   Wed Dec 12 01:08:19 2018 +0000
Branches: greasepencil-object
https://developer.blender.org/rB1569196cf2606d6da0c98f0726aba41f0198a5da

GP: Change Circle primitive control points

Changed to small red style.

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

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

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

diff --git a/source/blender/editors/gpencil/gpencil_primitive.c b/source/blender/editors/gpencil/gpencil_primitive.c
index ddb6fdff29d..0e2f1c366b3 100644
--- a/source/blender/editors/gpencil/gpencil_primitive.c
+++ b/source/blender/editors/gpencil/gpencil_primitive.c
@@ -545,12 +545,11 @@ static void gp_primitive_circle(tGPDprimitive *tgpi, tGPspoint *points2D)
 		a += step;
 	}
 	float color[4];
-	UI_GetThemeColor4fv(TH_ACTIVE_VERT, color);
-	gp_primitive_set_cp(tgpi, tgpi->start, color, BIG_SIZE_CTL);
-	gp_primitive_set_cp(tgpi, tgpi->end, color, BIG_SIZE_CTL);
 	UI_GetThemeColor4fv(TH_REDALERT, color);
+	gp_primitive_set_cp(tgpi, tgpi->start, color, SMALL_SIZE_CTL);
+	gp_primitive_set_cp(tgpi, tgpi->end, color, SMALL_SIZE_CTL);
 	gp_primitive_set_cp(tgpi, tgpi->origin, color, SMALL_SIZE_CTL);
-	gp_primitive_set_cp(tgpi, center, color, MID_SIZE_CTL);
+	gp_primitive_set_cp(tgpi, center, color, SMALL_SIZE_CTL);
 }
 
 /* Helper: Update shape of the stroke */



More information about the Bf-blender-cvs mailing list