Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Jolly <mistajolly@gmail.com>2018-11-29 13:50:21 +0300
committerCharlie Jolly <mistajolly@gmail.com>2018-11-29 18:44:20 +0300
commit1f5216c57ae2f7896c9392668fae5019e481c723 (patch)
tree70e6485b94d80f1d2fb79613b12d656d3e440c14 /source/blender/editors/gpencil/gpencil_intern.h
parent1c0bc19e3f55eff4bc2df4c2affb64272c5f5cb7 (diff)
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
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_intern.h')
-rw-r--r--source/blender/editors/gpencil/gpencil_intern.h1
1 files changed, 1 insertions, 0 deletions
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 */