Fix #112144: Graph Editor handle highlighting not working correctly
Mistake in 7c48196056.
Second handle was always drawn with positions of the first handle (when
it was highlighted).
Should be good for 3.6/3.3 LTS.
Pull Request: https://projects.blender.org/blender/blender/pulls/112219
This commit is contained in:
committed by
Philipp Oeser
parent
397a0a0e7e
commit
52cfa67f6f
@@ -558,9 +558,9 @@ static void draw_fcurve_handles(SpaceGraph *sipo, ARegion *region, FCurve *fcu)
|
||||
UI_GetThemeColor3ubv(basecol + bezt->h2, col);
|
||||
col[3] = fcurve_display_alpha(fcu) * 255;
|
||||
immAttr4ubv(color, col);
|
||||
immVertex2fv(pos, bezt->vec[0]);
|
||||
immAttr4ubv(color, col);
|
||||
immVertex2fv(pos, bezt->vec[1]);
|
||||
immAttr4ubv(color, col);
|
||||
immVertex2fv(pos, bezt->vec[2]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user