Skip to content

Commit

Permalink
Add PrevLODSignificance when sending batched custom data. This allows…
Browse files Browse the repository at this point in the history
… the previous significance range to also receive the data (my guess for a smoother transition)
  • Loading branch information
Ji-Rath committed Jul 14, 2022
1 parent 7eebf14 commit 30b3cab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void UismPerInstanceDataUpdater::Execute(UMassEntitySubsystem& EntitySubsystem,


// This can accept any struct that the size of n floats. It seems to be required to be called every frame we want to change it
ISMInfo.AddBatchedCustomData(RenderData.Data, RepresentationLOD.LODSignificance);
ISMInfo.AddBatchedCustomData(RenderData.Data, RepresentationLOD.LODSignificance, Representation.PrevLODSignificance);
}
}
});
Expand Down

0 comments on commit 30b3cab

Please sign in to comment.