From 0818d015db720491684b70cd64ae971bd02cb81c Mon Sep 17 00:00:00 2001 From: Paul Joannon Date: Fri, 22 Dec 2023 23:27:13 +0100 Subject: [PATCH] Inspector :warning: when C# props might be out of date --- editor/plugins/script_text_editor.cpp | 8 ++-- modules/mono/csharp_script.cpp | 11 +++++ .../GodotTools/GodotTools/GodotSharpEditor.cs | 38 ++++++++++++++++ .../Inspector/InspectorOutOfSyncWarning.cs | 37 +++++++++++++++ .../GodotTools/Inspector/InspectorPlugin.cs | 45 +++++++++++++++++++ 5 files changed, 136 insertions(+), 3 deletions(-) create mode 100644 modules/mono/editor/GodotTools/GodotTools/Inspector/InspectorOutOfSyncWarning.cs create mode 100644 modules/mono/editor/GodotTools/GodotTools/Inspector/InspectorPlugin.cs diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index 04eda502d20..a686bb40666 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -788,9 +788,7 @@ static void _find_changed_scripts_for_external_editor(Node *p_base, Node *p_curr } void ScriptEditor::_update_modified_scripts_for_external_editor(Ref