We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a2c0ee commit a4b5df0Copy full SHA for a4b5df0
1 file changed
Source/RuntimeMeshComponent/Private/RuntimeMesh.cpp
@@ -887,7 +887,7 @@ void URuntimeMesh::HandleSingleSectionUpdate(const FRuntimeMeshProxyPtr& RenderP
887
TSharedPtr<FRuntimeMeshSectionUpdateData> UpdateData = MakeShared<FRuntimeMeshSectionUpdateData>(MoveTemp(MeshData));
888
889
// Push the data to the gpu from this thread if we're not on the game thread and the current RHI supports async
890
- if (GRHISupportsAsyncTextureCreation && GIsThreadedRendering && IsInRenderingThread() && !IsInGameThread())
+ if (GRHISupportsAsyncTextureCreation && GIsThreadedRendering && IsInRenderingThread())
891
{
892
UpdateData->CreateRHIBuffers<false>(Properties.UpdateFrequency == ERuntimeMeshUpdateFrequency::Frequent);
893
}
0 commit comments