mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
console layout WIP
This commit is contained in:
parent
7ade504ec0
commit
f4e98b2091
6 changed files with 10 additions and 4 deletions
|
|
@ -56,7 +56,7 @@ std::unique_ptr<UiDocument> UiDocument::read(scriptenv penv, std::string name, f
|
|||
auto xmldoc = xml::parse(file.u8string(), text);
|
||||
|
||||
auto env = penv == nullptr
|
||||
? scripting::get_root_environment()
|
||||
? scripting::create_doc_environment(scripting::get_root_environment(), name)
|
||||
: scripting::create_doc_environment(penv, name);
|
||||
|
||||
gui::UiXmlReader reader(env);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue