mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 18:11:13 +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
|
|
@ -382,6 +382,8 @@ class ScriptEditor : public PanelContainer {
|
|||
|
||||
bool pending_auto_reload;
|
||||
bool auto_reload_running_scripts;
|
||||
bool reload_all_scripts = false;
|
||||
Vector<String> script_paths_to_reload;
|
||||
void _live_auto_reload_running_scripts();
|
||||
|
||||
void _update_selected_editor_menu();
|
||||
|
|
@ -542,7 +544,8 @@ public:
|
|||
void clear_docs_from_script(const Ref<Script> &p_script);
|
||||
void update_docs_from_script(const Ref<Script> &p_script);
|
||||
|
||||
void trigger_live_script_reload();
|
||||
void trigger_live_script_reload(const String &p_script_path);
|
||||
void trigger_live_script_reload_all();
|
||||
|
||||
bool can_take_away_focus() const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue