Skip to content

Commit 373190d

Browse files
committed
UE 5.5 compilation fixes
1 parent b5a28c4 commit 373190d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Source/FlowEditor/Private/Graph/Widgets/SFlowGraphNode.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,13 @@ void SFlowGraphNode::UpdateGraphNode()
375375
.IsGraphNodeHovered(this, &SGraphNode::IsHovered);
376376

377377
GetOrAddSlot(ENodeZone::TopCenter)
378+
#if ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION < 6
379+
.SlotOffset(TAttribute<FVector2D>(CommentBubble.Get(), &SCommentBubble::GetOffset))
380+
.SlotSize(TAttribute<FVector2D>(CommentBubble.Get(), &SCommentBubble::GetSize))
381+
#else
378382
.SlotOffset2f(TAttribute<FVector2f>(CommentBubble.Get(), &SCommentBubble::GetOffset2f))
379383
.SlotSize2f(TAttribute<FVector2f>(CommentBubble.Get(), &SCommentBubble::GetSize2f))
384+
#endif
380385
.AllowScaling(TAttribute<bool>(CommentBubble.Get(), &SCommentBubble::IsScalingAllowed))
381386
.VAlign(VAlign_Top)
382387
[

0 commit comments

Comments
 (0)