diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2016-10-13 07:23:58 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2016-10-13 07:23:58 +0300 |
commit | d5b75256e08582e30910bfe6ada61f893b78ce8b (patch) | |
tree | 139f2f24b37c88126f15b526a2364ec3bea0df75 /source | |
parent | c565f7b5fde35ccc9e7457725528e6f5a5946c62 (diff) |
Fix for crash on dopesheet drawing with immediate mode (rB7a552612c)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_graph/graph_draw.c | 2 |
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) { |