From 0066e052bbda6e53249fb713a811d60da2de28ff Mon Sep 17 00:00:00 2001 From: Atlinx Date: Mon, 5 Jun 2023 10:15:41 -0400 Subject: [PATCH] Update FracturalCommons to latest --- addons/FracturalCommons | 2 +- addons/FracturalInject/Editor/ClassTypeEditorProperty.cs | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/addons/FracturalCommons b/addons/FracturalCommons index afe5cc9..031a2e3 160000 --- a/addons/FracturalCommons +++ b/addons/FracturalCommons @@ -1 +1 @@ -Subproject commit afe5cc97490a2711a13ffdfbe3f89c4df25ae530 +Subproject commit 031a2e337035c8ab8c2e2ac3cda56a19e841852c diff --git a/addons/FracturalInject/Editor/ClassTypeEditorProperty.cs b/addons/FracturalInject/Editor/ClassTypeEditorProperty.cs index 8357615..43fad2e 100644 --- a/addons/FracturalInject/Editor/ClassTypeEditorProperty.cs +++ b/addons/FracturalInject/Editor/ClassTypeEditorProperty.cs @@ -1,9 +1,6 @@ using Fractural.Plugin; using Fractural.Utils; using Godot; -using System; -using System.Collections.Generic; -using System.Linq; #if TOOLS namespace Fractural.DependencyInjection @@ -58,7 +55,7 @@ private void OnClearButtonPressed() private void OnSelectButtonPressed() { - _popupSearch.SearchEntries = _inspectorPlugin.NodeClassTypesDict.Keys.ToArray(); + _popupSearch.SearchEntries = SearchEntry.ArrayFromStringEnumerable(_inspectorPlugin.NodeClassTypesDict.Keys); _popupSearch.Popup_(_selectButton.GetGlobalRect()); }