mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Hot-reload only changed scripts
This commit is contained in:
parent
13a0d6e9b2
commit
cde478bda6
17 changed files with 113 additions and 38 deletions
|
@ -593,9 +593,15 @@ void EditorDebuggerNode::set_breakpoints(const String &p_path, Array p_lines) {
|
|||
}
|
||||
}
|
||||
|
||||
void EditorDebuggerNode::reload_scripts() {
|
||||
void EditorDebuggerNode::reload_all_scripts() {
|
||||
_for_all(tabs, [&](ScriptEditorDebugger *dbg) {
|
||||
dbg->reload_scripts();
|
||||
dbg->reload_all_scripts();
|
||||
});
|
||||
}
|
||||
|
||||
void EditorDebuggerNode::reload_scripts(const Vector<String> &p_script_paths) {
|
||||
_for_all(tabs, [&](ScriptEditorDebugger *dbg) {
|
||||
dbg->reload_scripts(p_script_paths);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue