forked from bartvdbraak/blender
Fix for out of bounds write while dragging
This commit is contained in:
parent
4cf531f7a0
commit
9ece95de48
@ -1264,7 +1264,7 @@ static bool ui_but_start_drag(bContext *C, uiBut *but, uiHandleButtonData *data,
|
||||
valid = true;
|
||||
}
|
||||
else if (but->pointype == UI_BUT_POIN_CHAR) {
|
||||
rgba_uchar_to_float(drag_info->color, (unsigned char *)but->poin);
|
||||
rgb_uchar_to_float(drag_info->color, (unsigned char *)but->poin);
|
||||
valid = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user