diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-13 17:52:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-13 17:52:15 +0400 |
commit | d4d95ea1c1b53364e37827a7e65086d6e8cc2e20 (patch) | |
tree | 79b0d5584b3d7aa027263b5e545fbf94424285ce /source/blender/editors/gpencil | |
parent | 393c7b2e93244f85e05fcb65e6d3540158c75aad (diff) |
fix for buffer overrun when grease pencil drawing in the clip editor.
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index bd02df2ddba..2dd8ef4da94 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -105,9 +105,9 @@ typedef struct tGPsdata { short flags; /* flags that can get set during runtime */ float imat[4][4]; /* inverted transformation matrix applying when converting coords from screen-space - to region space */ + * to region space */ - float custom_color[3]; /* custom color for */ + float custom_color[4]; /* custom color for (?) */ } tGPsdata; /* values for tGPsdata->status */ |