mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
uinode:add method fix + gui.reindex(document_name)
This commit is contained in:
parent
e456b77143
commit
e57b0eca15
9 changed files with 81 additions and 44 deletions
|
|
@ -47,6 +47,10 @@ int Environment::getId() const {
|
|||
return env;
|
||||
}
|
||||
|
||||
void Environment::release() {
|
||||
env = 0;
|
||||
}
|
||||
|
||||
void load_script(fs::path name) {
|
||||
auto paths = scripting::engine->getPaths();
|
||||
fs::path file = paths->getResources()/fs::path("scripts")/name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue