From 6e77df4441c0dc0f7554f1cbc59a672be564946c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Justy=C5=84ski?= Date: Wed, 28 Jan 2026 17:51:47 +0100 Subject: [PATCH 1/3] compilation fix --- Source/Flow/Private/Nodes/FlowNodeBase.cpp | 2 ++ Source/Flow/Public/Nodes/FlowNodeBase.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Flow/Private/Nodes/FlowNodeBase.cpp b/Source/Flow/Private/Nodes/FlowNodeBase.cpp index 4dc15b29..56360b9a 100644 --- a/Source/Flow/Private/Nodes/FlowNodeBase.cpp +++ b/Source/Flow/Private/Nodes/FlowNodeBase.cpp @@ -958,6 +958,7 @@ bool UFlowNodeBase::BuildMessage(FString& Message) const } #endif +#if WITH_EDITOR EDataValidationResult UFlowNodeBase::ValidateNode() { EDataValidationResult ValidationResult = EDataValidationResult::NotValidated; @@ -969,6 +970,7 @@ EDataValidationResult UFlowNodeBase::ValidateNode() return ValidationResult; } +#endif bool UFlowNodeBase::TryAddValueToFormatNamedArguments(const FFlowNamedDataPinProperty& NamedDataPinProperty, FFormatNamedArguments& InOutArguments) const { diff --git a/Source/Flow/Public/Nodes/FlowNodeBase.h b/Source/Flow/Public/Nodes/FlowNodeBase.h index 152bfe76..ef8fb500 100644 --- a/Source/Flow/Public/Nodes/FlowNodeBase.h +++ b/Source/Flow/Public/Nodes/FlowNodeBase.h @@ -483,7 +483,7 @@ class FLOW_API UFlowNodeBase #if WITH_EDITOR virtual EDataValidationResult ValidateNode(); -#endif +#endif // Optional validation override for Blueprints UFUNCTION(BlueprintImplementableEvent, Category = "FlowNode|Validation", meta = (DisplayName = "Validate Node", DevelopmentOnly)) From 14771dd09c46c115ce6d495a7601e6e9c7583542 Mon Sep 17 00:00:00 2001 From: Danamarik Date: Wed, 28 Jan 2026 18:58:00 +0200 Subject: [PATCH 2/3] FlowNodeBlueprintLibrary and FlowNodeAddOn cross-module inheritance support --- Source/Flow/Public/AddOns/FlowNodeAddOn.h | 2 +- Source/FlowEditor/Public/Nodes/FlowNodeBlueprintFactory.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Flow/Public/AddOns/FlowNodeAddOn.h b/Source/Flow/Public/AddOns/FlowNodeAddOn.h index aabea5c4..e2d2931b 100644 --- a/Source/Flow/Public/AddOns/FlowNodeAddOn.h +++ b/Source/Flow/Public/AddOns/FlowNodeAddOn.h @@ -41,7 +41,7 @@ class UFlowNodeAddOn : public UFlowNodeBase // UFlowNodeBase #if WITH_EDITOR - virtual UEdGraphNode* GetGraphNode() const override; + FLOW_API virtual UEdGraphNode* GetGraphNode() const override; #endif // AddOns may opt in to be eligible for a given parent diff --git a/Source/FlowEditor/Public/Nodes/FlowNodeBlueprintFactory.h b/Source/FlowEditor/Public/Nodes/FlowNodeBlueprintFactory.h index 9ce48936..e3752525 100644 --- a/Source/FlowEditor/Public/Nodes/FlowNodeBlueprintFactory.h +++ b/Source/FlowEditor/Public/Nodes/FlowNodeBlueprintFactory.h @@ -19,9 +19,9 @@ class UFlowNodeBaseBlueprintFactory : public UFactory TSubclassOf ParentClass; // UFactory - virtual bool ConfigureProperties() override; - virtual UObject* FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn, FName CallingContext) override; - virtual UObject* FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) override; + FLOWEDITOR_API virtual bool ConfigureProperties() override; + FLOWEDITOR_API virtual UObject* FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn, FName CallingContext) override; + FLOWEDITOR_API virtual UObject* FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) override; void ShowCannotCreateBlueprintDialog(); // -- From a0cac764eb3eab2cdb88e9ef852fe53a074b56b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Justy=C5=84ski?= Date: Wed, 28 Jan 2026 18:12:00 +0100 Subject: [PATCH 3/3] Revert "compilation fix" This reverts commit 6e77df4441c0dc0f7554f1cbc59a672be564946c. --- Source/Flow/Private/Nodes/FlowNodeBase.cpp | 2 -- Source/Flow/Public/Nodes/FlowNodeBase.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/Flow/Private/Nodes/FlowNodeBase.cpp b/Source/Flow/Private/Nodes/FlowNodeBase.cpp index 56360b9a..4dc15b29 100644 --- a/Source/Flow/Private/Nodes/FlowNodeBase.cpp +++ b/Source/Flow/Private/Nodes/FlowNodeBase.cpp @@ -958,7 +958,6 @@ bool UFlowNodeBase::BuildMessage(FString& Message) const } #endif -#if WITH_EDITOR EDataValidationResult UFlowNodeBase::ValidateNode() { EDataValidationResult ValidationResult = EDataValidationResult::NotValidated; @@ -970,7 +969,6 @@ EDataValidationResult UFlowNodeBase::ValidateNode() return ValidationResult; } -#endif bool UFlowNodeBase::TryAddValueToFormatNamedArguments(const FFlowNamedDataPinProperty& NamedDataPinProperty, FFormatNamedArguments& InOutArguments) const { diff --git a/Source/Flow/Public/Nodes/FlowNodeBase.h b/Source/Flow/Public/Nodes/FlowNodeBase.h index ef8fb500..152bfe76 100644 --- a/Source/Flow/Public/Nodes/FlowNodeBase.h +++ b/Source/Flow/Public/Nodes/FlowNodeBase.h @@ -483,7 +483,7 @@ class FLOW_API UFlowNodeBase #if WITH_EDITOR virtual EDataValidationResult ValidateNode(); -#endif +#endif // Optional validation override for Blueprints UFUNCTION(BlueprintImplementableEvent, Category = "FlowNode|Validation", meta = (DisplayName = "Validate Node", DevelopmentOnly))