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];

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to