Skip to content

Commit

Permalink
Update PCGExSplineToPath.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Nebukam committed Oct 22, 2024
1 parent 77aaa83 commit fe8d40e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "Paths/PCGExSplineToPath.h"

#include "VectorTypes.h"
#include "Misc/PCGExRefreshSeed.h"
#include "Sampling/PCGExSampleNearestSpline.h"

#define LOCTEXT_NAMESPACE "PCGExSplineToPathElement"
Expand Down Expand Up @@ -144,7 +145,9 @@ namespace PCGExSplineToPath
}

auto ApplyTransform = [&](FPCGPoint& Point, const FTransform& Transform)
{
{
Point.Seed = PCGExRandom::ComputeSeed(Point);

if (Settings->TransformDetails.bInheritRotation && Settings->TransformDetails.bInheritScale)
{
Point.Transform = Transform;
Expand Down

0 comments on commit fe8d40e

Please sign in to comment.