Fix #116415: Show Empty text for Current Asset Library #116446

Merged
Harley Acheson merged 1 commits from Harley/blender:EmptyCurrentAssets into main 2023-12-21 20:09:37 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -1166,7 +1166,7 @@ void file_draw_list(const bContext *C, ARegion *region)
}
}
if (numfiles == 0) {
if (numfiles < 1) {
const rcti tile_draw_rect = tile_draw_rect_get(
v2d, layout, eFileDisplayType(params->display), 0, 0);
const uiStyle *style = UI_style_get();