Fix invalid stack memory use with GPencil drawing
This commit is contained in:
parent
b24dfff9b7
commit
40d8a407d7
Notes:
blender-bot
2023-02-14 02:49:08 +01:00
Referenced by issue #64153, RenderEngine update_result() not showing intermediate result anymore
|
@ -271,9 +271,9 @@ void draw_channel_strips(bAnimContext *ac, SpaceAction *saction, ARegion *ar)
|
|||
}
|
||||
else if (ac->datatype == ANIMCONT_GPENCIL) {
|
||||
unsigned char *color;
|
||||
unsigned char gpl_col[4];
|
||||
if ((show_group_colors) && (ale->type == ANIMTYPE_GPLAYER)) {
|
||||
bGPDlayer *gpl = (bGPDlayer *)ale->data;
|
||||
unsigned char gpl_col[4];
|
||||
rgb_float_to_uchar(gpl_col, gpl->color);
|
||||
gpl_col[3] = col1[3];
|
||||
|
||||
|
|
Loading…
Reference in New Issue