You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-91577
Clear landscape cached heightfield when the landscape is changed. (Contributed by MichaelBell) PR #6834 #rb none #ROBOMERGE-SOURCE: CL 14407511 in //UE4/Release-4.26/... via CL 14407522 #ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v742-14376270) [CL 14407524 by jeremy moore in Main branch]
This commit is contained in:
committed by
jeremy moore
parent
a31a1e578b
commit
3091848e20
@@ -2121,6 +2121,8 @@ bool ULandscapeMeshCollisionComponent::RecreateCollision()
|
||||
{
|
||||
MeshRef = NULL;
|
||||
MeshGuid = FGuid();
|
||||
CachedHeightFieldSamples.Heights.Empty();
|
||||
CachedHeightFieldSamples.Holes.Empty();
|
||||
}
|
||||
|
||||
return Super::RecreateCollision();
|
||||
|
||||
Reference in New Issue
Block a user