Match native asset fallback behavior

This commit is contained in:
gamer147
2026-08-15 09:49:04 -04:00
parent b27a5ff43d
commit d38511665a
8 changed files with 120 additions and 38 deletions

View File

@@ -301,8 +301,8 @@ public partial class Main : Godot.Control
_locator = new PageLocatorState(scene, _selftest ? null : pageMapPath);
_locatorHud.Visible = _locatorHudVisible;
var resources = scripts != null
? new ResourceMap(scripts.Catalog, trackedAssetStore)
: new ResourceMap(catalog, _assetStore);
? new ResourceMap(scripts.Catalog, trackedAssetStore, GD.PushWarning)
: new ResourceMap(catalog, _assetStore, GD.PushWarning);
IGlyphMaskRasterizer? surfaceTextRasterizer = null;
PortableTextRenderingPolicy? portableTextPolicy = null;
string? exactUnavailable = null;