From 351875cb61d54f8f571e4fa055e05ba06e62a0fe Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 5 Sep 2024 13:50:53 -0400 Subject: [PATCH] Probe dynamic radius fix --- Source/PCGExtendedToolkit/Private/Graph/PCGExConnectPoints.cpp | 1 + .../Public/Graph/Probes/PCGExProbeOperation.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/PCGExtendedToolkit/Private/Graph/PCGExConnectPoints.cpp b/Source/PCGExtendedToolkit/Private/Graph/PCGExConnectPoints.cpp index 8b086e1c0..a89662220 100644 --- a/Source/PCGExtendedToolkit/Private/Graph/PCGExConnectPoints.cpp +++ b/Source/PCGExtendedToolkit/Private/Graph/PCGExConnectPoints.cpp @@ -148,6 +148,7 @@ namespace PCGExConnectPoints { UPCGExProbeOperation* NewOperation = Factory->CreateOperation(); NewOperation->BindContext(Context); + NewOperation->PrimaryDataFacade = PointDataFacade; if (!NewOperation->PrepareForPoints(PointIO)) { diff --git a/Source/PCGExtendedToolkit/Public/Graph/Probes/PCGExProbeOperation.h b/Source/PCGExtendedToolkit/Public/Graph/Probes/PCGExProbeOperation.h index 1bfe24bf6..8bb8375c7 100644 --- a/Source/PCGExtendedToolkit/Public/Graph/Probes/PCGExProbeOperation.h +++ b/Source/PCGExtendedToolkit/Public/Graph/Probes/PCGExProbeOperation.h @@ -33,7 +33,7 @@ struct /*PCGEXTENDEDTOOLKIT_API*/ FPCGExProbeConfigBase { } - UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = Settings, meta=(PCG_NotOverridable, HideInDetailPanel)) + UPROPERTY() bool bSupportRadius = true; UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = Settings, meta=(PCG_Overridable, EditCondition="bSupportRadius", EditConditionHides))