mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 03:04:31 +00:00
Fixed console error spam (about invalid edited scene index)
This commit is contained in:
parent
27baa12670
commit
af3f047f49
3 changed files with 6 additions and 4 deletions
|
|
@ -1504,8 +1504,10 @@ void ScriptEditor::_notification(int p_what) {
|
|||
|
||||
recent_scripts->set_as_minsize();
|
||||
|
||||
_update_script_colors();
|
||||
_update_script_names();
|
||||
if (is_inside_tree()) {
|
||||
_update_script_colors();
|
||||
_update_script_names();
|
||||
}
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_READY: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue