[Bf-blender-cvs] [d5b7525] blender2.8: Fix for crash on dopesheet drawing with immediate mode (rB7a552612c)

Dalai Felinto noreply at git.blender.org
Thu Oct 13 06:24:10 CEST 2016


Commit: d5b75256e08582e30910bfe6ada61f893b78ce8b
Author: Dalai Felinto
Date:   Thu Oct 13 04:23:58 2016 +0000
Branches: blender2.8
https://developer.blender.org/rBd5b75256e08582e30910bfe6ada61f893b78ce8b

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

===================================================================

M	source/blender/editors/space_graph/graph_draw.c

===================================================================

diff --git a/source/blender/editors/space_graph/graph_draw.c b/source/blender/editors/space_graph/graph_draw.c
index 68ade53..9781c90 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) {




More information about the Bf-blender-cvs mailing list