Skip to content

Commit

Permalink
Fix for 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
durswd committed Jun 13, 2024
1 parent f29a453 commit 5a868bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class FEffekseerEmitterSceneProxy : public FPrimitiveSceneProxy
#if WITH_EDITOR
if (GShaderCompilingManager->IsCompiling())
{
return;
// return;
}
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void FEffekseerSystemSceneProxy::GetDynamicMeshElements(const TArray<const FScen
#if WITH_EDITOR
if (GShaderCompilingManager->IsCompiling())
{
return;
// return;
}
#endif

Expand Down Expand Up @@ -105,8 +105,11 @@ FPrimitiveViewRelevance FEffekseerSystemSceneProxy::GetViewRelevance(const FScen

void FEffekseerSystemSceneProxy::ConvertInternalHandleToEffekseerHandles(const std::vector<int32_t>& internalHandles, std::vector<int32_t>& efkHandles)
{
#if ENGINE_MAJOR_VERSION == 4
check(IsInRenderingThread());
//std::lock_guard<std::mutex> lock(criticalSection_);
#endif

std::lock_guard<std::mutex> lock(mutex_removedHandles_);

efkHandles.clear();

Expand Down

0 comments on commit 5a868bd

Please sign in to comment.