Fix for crash on dopesheet drawing with immediate mode (rB7a552612c)

This commit is contained in:
Dalai Felinto 2016-10-13 04:23:58 +00:00
parent c565f7b5fd
commit d5b75256e0
1 changed files with 1 additions and 1 deletions

View File

@ -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) {