From dfd4c498e1b3a2fd152b600120be9f3f465780d0 Mon Sep 17 00:00:00 2001 From: Chromium <62724067+Chromum@users.noreply.github.com> Date: Mon, 28 Apr 2025 04:17:46 +0100 Subject: [PATCH] Imma bust --- .../Scripts/Editor/Windows/ImageProcessingGraphNodeVisual.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Editor/Scripts/Editor/Windows/ImageProcessingGraphNodeVisual.cs b/Editor/Scripts/Editor/Windows/ImageProcessingGraphNodeVisual.cs index c3e4fcb..5d7c7a5 100644 --- a/Editor/Scripts/Editor/Windows/ImageProcessingGraphNodeVisual.cs +++ b/Editor/Scripts/Editor/Windows/ImageProcessingGraphNodeVisual.cs @@ -147,13 +147,12 @@ namespace ImageProcessingGraph.Editor.Unity_Image_Processing.Scripts.Editor.Wind // Exposes a variable on the port for editing when it's not connected public void ExposeVariableToPort(Port port, FieldInfo field) { - VisualElement NewElement; + VisualElement NewElement = new VisualElement(); var ExposedPropertyContainer = ((IPTPort)port).ExposedPropertyContainer; Type containerType = null; if (ExposedPropertyContainer == null) { - NewElement = new VisualElement(); NewElement.name = "property-field-container"; VisualElement the = CreatePropertyFieldForType(field.FieldType, field.GetValue(graphNode));