From 8b5ce6a712d432da17ebf3f17dfc3a22c0d08d31 Mon Sep 17 00:00:00 2001 From: teebarjunk Date: Mon, 11 Oct 2021 17:01:39 -0400 Subject: [PATCH] meta bug --- addons/text_editor/TE_MetaInfo.gd | 3 ++- project.godot | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/addons/text_editor/TE_MetaInfo.gd b/addons/text_editor/TE_MetaInfo.gd index 59cb341..9caa061 100644 --- a/addons/text_editor/TE_MetaInfo.gd +++ b/addons/text_editor/TE_MetaInfo.gd @@ -21,4 +21,5 @@ func _file_saved(_file_path:String): func _redraw(): var tab = editor.get_selected_tab() - tab.helper.generate_meta(tab, self) + if tab: + tab.helper.generate_meta(tab, self) diff --git a/project.godot b/project.godot index 77b3eb0..76c0569 100644 --- a/project.godot +++ b/project.godot @@ -42,6 +42,10 @@ config/name="TextEdit" run/main_scene="res://addons/text_editor/TextEditor.tscn" config/icon="res://icon.png" +[editor_plugins] + +enabled=PoolStringArray( "res://addons/text_editor/plugin.cfg" ) + [physics] common/enable_pause_aware_picking=true