diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-08-26 07:25:39 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2016-08-26 07:25:39 +0300 |
commit | 274e1c4f1f4aaf32b86d2d66d58e8943279329a3 (patch) | |
tree | c3b62839f472230d4182898be6c53f617613c3b0 /source/blender/editors/gpencil/gpencil_intern.h | |
parent | 2ac75fe035458972ddf29cdbb33eb5af4ada2477 (diff) |
Code Cleanup
* Stroke editing functions should be in gpencil_edit.c not gpencil_data.c
(the latter is only for handling "CRUD" operations on things like
layers, brushes, and palettes)
* Deduplicate the GP_STROKE_BUFFER_MAX define
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_intern.h')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_intern.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h index f37fba4212d..5f7cef9a852 100644 --- a/source/blender/editors/gpencil/gpencil_intern.h +++ b/source/blender/editors/gpencil/gpencil_intern.h @@ -214,6 +214,9 @@ typedef enum eGPencil_PaintModes { GP_PAINTMODE_DRAW_POLY } eGPencil_PaintModes; +/* maximum sizes of gp-session buffer */ +#define GP_STROKE_BUFFER_MAX 5000 + /* stroke editing ----- */ void GPENCIL_OT_editmode_toggle(struct wmOperatorType *ot); |