[Bf-blender-cvs] [0ed319cb0c1] greasepencil-object: GP: Add number of divisions in bottom message for Boxes

Antonioya noreply at git.blender.org
Tue Dec 11 17:29:33 CET 2018


Commit: 0ed319cb0c1ae9b28037047060914d30fe67f9e1
Author: Antonioya
Date:   Tue Dec 11 17:29:24 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rB0ed319cb0c1ae9b28037047060914d30fe67f9e1

GP: Add number of divisions in bottom message for Boxes

It was impossible to see the number of divisions used.

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

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 01b97c10e65..78d00abc0b7 100644
--- a/source/blender/editors/gpencil/gpencil_primitive.c
+++ b/source/blender/editors/gpencil/gpencil_primitive.c
@@ -344,7 +344,7 @@ static void gpencil_primitive_status_indicators(bContext *C, tGPDprimitive *tgpi
 		BLI_strncpy(msg_str, IFACE_("Circle: ESC/RMB to cancel, Enter/LMB to confirm, WHEEL/+- to adjust edge number, Shift to square, Alt to center"), UI_MAX_DRAW_STR);
 	}
 
-	if (ELEM(tgpi->type, GP_STROKE_CIRCLE, GP_STROKE_ARC, GP_STROKE_LINE)) {
+	if (ELEM(tgpi->type, GP_STROKE_CIRCLE, GP_STROKE_ARC, GP_STROKE_LINE, GP_STROKE_BOX)) {
 		if (hasNumInput(&tgpi->num)) {
 			char str_offs[NUM_STR_REP_LEN];



More information about the Bf-blender-cvs mailing list