Cleanup: Remove unhelpful unreachable asset in asset shelf code
This commit is contained in:
parent
a6ebfb05ad
commit
18eecb16db
@ -553,7 +553,6 @@ AssetShelf *active_shelf_from_area(const ScrArea *area)
|
||||
const ARegion *shelf_region = BKE_area_find_region_type(area, RGN_TYPE_ASSET_SHELF);
|
||||
if (!shelf_region) {
|
||||
/* Called in wrong context, area doesn't have a shelf. */
|
||||
BLI_assert_unreachable();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user