[Bf-blender-cvs] [18301bf2ccd] greasepencil-object: GP: Print number of edges for Curves

Antonioya noreply at git.blender.org
Wed Dec 12 10:31:12 CET 2018


Commit: 18301bf2ccd2afa122ebf151c06c2ee1c449d7c0
Author: Antonioya
Date:   Wed Dec 12 10:30:57 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rB18301bf2ccd2afa122ebf151c06c2ee1c449d7c0

GP: Print number of edges for Curves

This information was missing in bottom text  but you could change it.

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

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 ffca53acb16..e2f072530a6 100644
--- a/source/blender/editors/gpencil/gpencil_primitive.c
+++ b/source/blender/editors/gpencil/gpencil_primitive.c
@@ -364,7 +364,7 @@ static void gpencil_primitive_status_indicators(bContext *C, tGPDprimitive *tgpi
 	else {
 		if (tgpi->flag == IN_PROGRESS) {
 			BLI_snprintf(
-				status_str, sizeof(status_str), "%s: (%d, %d) (%d, %d)", msg_str,
+				status_str, sizeof(status_str), "%s: %d (%d, %d) (%d, %d)", msg_str, (int)tgpi->tot_edges,
 				tgpi->start[0], tgpi->start[1], tgpi->end[0], tgpi->end[1]);
 		}
 		else {



More information about the Bf-blender-cvs mailing list