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:
authorDalai Felinto <dfelinto@gmail.com>2016-10-13 07:23:58 +0300
committerDalai Felinto <dfelinto@gmail.com>2016-10-13 07:23:58 +0300
commitd5b75256e08582e30910bfe6ada61f893b78ce8b (patch)
tree139f2f24b37c88126f15b526a2364ec3bea0df75 /source/blender/editors/space_graph/graph_draw.c
parentc565f7b5fde35ccc9e7457725528e6f5a5946c62 (diff)
Fix for crash on dopesheet drawing with immediate mode (rB7a552612c)
Diffstat (limited to 'source/blender/editors/space_graph/graph_draw.c')
-rw-r--r--source/blender/editors/space_graph/graph_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_graph/graph_draw.c b/source/blender/editors/space_graph/graph_draw.c
index 68ade53da2d..9781c909ef6 100644
--- a/source/blender/editors/space_graph/graph_draw.c
+++ b/source/blender/editors/space_graph/graph_draw.c
@@ -130,7 +130,7 @@ static void set_fcurve_vertex_color(FCurve *fcu, bool sel)
/* Fade the 'intensity' of the vertices based on the selection of the curves too */
int alphaOffset = (int)((fcurve_display_alpha(fcu) - 1.0f) * 255);
- float color[3];
+ float color[4];
/* Set color of curve vertex based on state of curve (i.e. 'Edit' Mode) */
if ((fcu->flag & FCURVE_PROTECTED) == 0) {