mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/code] Load variable box with script index argument
This commit is contained in:
@@ -57,7 +57,7 @@ bool ConsoleController::loadPythonEnvironment() {
|
||||
/* We load functions and variables names in the variable box before running
|
||||
* any other python code to avoid failling to load functions and variables
|
||||
* due to memory exhaustion. */
|
||||
App::app()->variableBoxController()->loadFunctionsAndVariables();
|
||||
App::app()->variableBoxController()->loadFunctionsAndVariables(-1, nullptr);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user