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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-11-13 17:52:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-13 17:52:15 +0400
commitd4d95ea1c1b53364e37827a7e65086d6e8cc2e20 (patch)
tree79b0d5584b3d7aa027263b5e545fbf94424285ce /source
parent393c7b2e93244f85e05fcb65e6d3540158c75aad (diff)
fix for buffer overrun when grease pencil drawing in the clip editor.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/gpencil/gpencil_paint.c4
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 */