UI: Dynamic File Browser Tooltips #104547
|
@ -190,8 +190,7 @@ static void file_draw_tooltip_custom_func(bContext * /*C*/, struct uiTooltipData
|
||||||
UI_TIP_LC_ALERT);
|
UI_TIP_LC_ALERT);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file->typeflag & (FILE_TYPE_BLENDER | FILE_TYPE_BLENDER_BACKUP))
|
if (file->typeflag & (FILE_TYPE_BLENDER | FILE_TYPE_BLENDER_BACKUP)) {
|
||||||
|
|||||||
{
|
|
||||||
char version_st[128] = {0};
|
char version_st[128] = {0};
|
||||||
if (!thumb) {
|
if (!thumb) {
|
||||||
/* Load the thumbnail from cache if existing, but don't create if not. */
|
/* Load the thumbnail from cache if existing, but don't create if not. */
|
||||||
|
|
Loading…
Reference in New Issue
Why is this only using
_read()
, instead of_manage()
?In this case I don't want to create a new preview if one doesn't exist. Getting the version from the file is faster.