You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Only allow built-in scripts to be edited when the scene they belong to is loaded, closes #5403
This commit is contained in:
@@ -234,6 +234,8 @@ class ScriptEditor : public VBoxContainer {
|
||||
|
||||
bool _test_script_times_on_disk(Ref<Script> p_for_script=Ref<Script>());
|
||||
|
||||
void _close_tab(int p_idx);
|
||||
|
||||
void _close_current_tab();
|
||||
|
||||
bool grab_focus_block;
|
||||
@@ -331,6 +333,8 @@ public:
|
||||
|
||||
virtual void edited_scene_changed();
|
||||
|
||||
void close_builtin_scripts_from_scene(const String& p_scene);
|
||||
|
||||
ScriptEditorDebugger *get_debugger() { return debugger; }
|
||||
void set_live_auto_reload_running_scripts(bool p_enabled);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user