Krzysztof Krysiński 5 months ago
parent
commit
8f6f0baaef

+ 5 - 0
src/PixiEditor.ChangeableDocument/Changeables/Graph/InputProperty.cs

@@ -32,6 +32,11 @@ public class InputProperty : IInputProperty
 
             var connectionValue = Connection.Value;
 
+            if(connectionValue is null)
+            {
+                return null;
+            }
+
             if (!ValueType.IsAssignableTo(typeof(Delegate)) && connectionValue is Delegate connectionField)
             {
                 return connectionField.DynamicInvoke(FuncContext.NoContext);