Ability to reload scripts on running game
This commit is contained in:
parent
45752eaae4
commit
9e745b920f
12 changed files with 247 additions and 18 deletions
|
|
@ -1573,6 +1573,16 @@ void ScriptEditorDebugger::set_breakpoint(const String& p_path,int p_line,bool p
|
|||
}
|
||||
|
||||
|
||||
void ScriptEditorDebugger::reload_scripts() {
|
||||
|
||||
if (connection.is_valid()) {
|
||||
Array msg;
|
||||
msg.push_back("reload_scripts");
|
||||
ppeer->put_var(msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void ScriptEditorDebugger::_error_selected(int p_idx) {
|
||||
|
||||
error_stack->clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue