Fix own error in recent tooltip commit
This commit is contained in:
parent
9563bde9a5
commit
1731d47976
Notes:
blender-bot
2023-02-14 10:26:03 +01:00
Referenced by issue #40797, Crash on render on specific file with volumentrics and 'use hair' clicked on render layer
|
@ -267,7 +267,7 @@ static void ui_tooltip_region_draw_cb(const bContext *UNUSED(C), ARegion *ar)
|
|||
glColor3fv(tip_colors[UI_TIP_LC_MAIN]);
|
||||
uiStyleFontDraw(&fstyle_header, &bbox, data->header);
|
||||
|
||||
xofs += BLF_width(fstyle_header.uifont_id, data->header, sizeof(data->header));
|
||||
xofs = BLF_width(fstyle_header.uifont_id, data->header, sizeof(data->header));
|
||||
bbox.xmin += xofs;
|
||||
|
||||
glColor3fv(tip_colors[UI_TIP_LC_ACTIVE]);
|
||||
|
|
Loading…
Reference in New Issue