mirror of
https://github.com/sinbad/StevesUEHelpers.git
synced 2025-02-23 17:45:23 +00:00
Fix UE5.1 crash: ditch FMemStack in DebugRenderSceneProxy
This commit is contained in:
parent
d859d99af4
commit
1b52815584
@ -73,7 +73,7 @@ void FStevesDebugRenderSceneProxy::GetDynamicMeshElements(const TArray<const FSc
|
||||
|
||||
// Parent caches these (only within this function) but let's assume that's not worth it. Will people really
|
||||
// have lots of meshes with a shared colour in this single context to make it worth it?
|
||||
const auto MatRenderProxy = new(FMemStack::Get()) FColoredMaterialRenderProxy(GEngine->WireframeMaterial->GetRenderProxy(), Mesh.Color);
|
||||
const auto MatRenderProxy = new FColoredMaterialRenderProxy(GEngine->WireframeMaterial->GetRenderProxy(), Mesh.Color);
|
||||
FDynamicMeshBuilderSettings Settings;
|
||||
Settings.bWireframe = true;
|
||||
Settings.bUseSelectionOutline = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user