Skip to content

Commit c78dbae

Browse files
committed
WIP
1 parent 029e4fa commit c78dbae

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Kdtree/Source/Kdtree/Private/AsyncKdtreeBPLibrary.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ void UAsyncKdtreeBPLibrary::CollectFromKdtreeAsync(const UObject* WorldContextOb
150150
FLatentActionManager& LatentManager = World->GetLatentActionManager();
151151
if (LatentManager.FindExistingAction<FCollectFromKdtreeSphereAction>(LatentInfo.CallbackTarget, LatentInfo.UUID) == nullptr)
152152
{
153-
FCollectFromKdtreeSphereAction* NewAction = new FCollectFromKdtreeSphereAction(LatentInfo, &Tree, Center, Radius, &Indices, &Data);
153+
FCollectFromKdtreeSphereAction* NewAction =
154+
new FCollectFromKdtreeSphereAction(LatentInfo, &Tree, Center, Radius, &Indices, &Data);
154155
LatentManager.AddNewAction(LatentInfo.CallbackTarget, LatentInfo.UUID, NewAction);
155156
}
156157
}

Kdtree/Source/Kdtree/Public/AsyncKdtreeBPLibrary.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ class KDTREE_API UAsyncKdtreeBPLibrary : public UBlueprintFunctionLibrary
3333
meta = (WorldContextObject = "WorldContextObject", Latent, LatentInfo = "LatentInfo", HidePin = "WorldContextObject",
3434
DefaultToSelf = "WorldContextObject"),
3535
Category = "SpacialDataStructure|kd-tree", DisplayName = "Collect From Kdtree Async (Sphere)")
36-
static void CollectFromKdtreeSphereAsync(const UObject* WorldContextObject, const FKdtree& Tree, const FVector Center, float Radius,
37-
TArray<int>& Indices, TArray<FVector>& Data, FLatentActionInfo LatentInfo);
36+
static void CollectFromKdtreeSphereAsync(const UObject* WorldContextObject, const FKdtree& Tree, const FVector Center,
37+
float Radius, TArray<int>& Indices, TArray<FVector>& Data, FLatentActionInfo LatentInfo);
3838

3939
UFUNCTION(BlueprintCallable,
4040
meta = (WorldContextObject = "WorldContextObject", Latent, LatentInfo = "LatentInfo", HidePin = "WorldContextObject",

0 commit comments

Comments
 (0)