From 1f5216c57ae2f7896c9392668fae5019e481c723 Mon Sep 17 00:00:00 2001 From: Charlie Jolly Date: Thu, 29 Nov 2018 10:50:21 +0000 Subject: GP: Add option to draw primatives from center This allows primatives to be drawn from the center using the ALT key. Also fixes SHIFT constraint not working correctly in all directions. Both options can be used together. Differential Revision: https://developer.blender.org/D4009 --- source/blender/editors/gpencil/gpencil_intern.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/gpencil/gpencil_intern.h') diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h index a55d984cd13..93d75063bff 100644 --- a/source/blender/editors/gpencil/gpencil_intern.h +++ b/source/blender/editors/gpencil/gpencil_intern.h @@ -157,6 +157,7 @@ typedef struct tGPDprimitive { int tot_edges; /* number of polygon edges */ int top[2]; /* first box corner */ int bottom[2]; /* last box corner */ + int origin[2]; /* initial box corner */ int flag; /* flag to determine operations in progress */ int lock_axis; /* lock to viewport axis */ -- cgit v1.2.3