Reimplements ability to utilize direct file load alongside ImageAsset fields when utilizing the ImageAsset macros

Updates Asset Browser generated preview images to not utilize full assets, but just the preview image files themselves
This commit is contained in:
JeffR 2025-05-27 17:12:03 -05:00
parent a43458677a
commit 0fa8b97f91
7 changed files with 56 additions and 130 deletions

View file

@ -121,7 +121,7 @@ void GuiBitmapCtrl::setBitmap(const char* name, bool resize)
if (assetId != StringTable->EmptyString())
_setBitmap(assetId);
else
return;
_setBitmap(name);
}
mBitmap = mBitmapAsset->getTexture(&GFXDefaultGUIProfile);