mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
assets loading removed from UiXmlReader. Use preload.json instead
This commit is contained in:
parent
9310454271
commit
bca4de179d
5 changed files with 6 additions and 22 deletions
|
|
@ -151,7 +151,7 @@ bool assetload::layout(
|
|||
) {
|
||||
try {
|
||||
auto cfg = dynamic_cast<LayoutCfg*>(config.get());
|
||||
auto document = UiDocument::read(loader, cfg->env, name, file);
|
||||
auto document = UiDocument::read(cfg->env, name, file);
|
||||
assets->store(document.release(), name);
|
||||
return true;
|
||||
} catch (const parsing_error& err) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue