1
0
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:
Juan Linietsky
2016-07-06 20:35:49 -03:00
parent e4b7a45a38
commit a78226c32c
5 changed files with 85 additions and 4 deletions

View File

@@ -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);