Fix compile errors on non-raytracing platforms

#rb none

[CL 16251756 by chris kulla in ue5-main branch]
This commit is contained in:
chris kulla
2021-05-10 14:39:52 -04:00
parent dfc915a297
commit 383c4dfeef

View File

@@ -1007,7 +1007,9 @@ FScene::FScene(UWorld* InWorld, bool bInRequiresHitProxies, bool bInIsEditorScen
, FXSystem(nullptr)
, bScenesPrimitivesNeedStaticMeshElementUpdate(false)
, bPathTracingNeedsInvalidation(true)
#if RHI_RAYTRACING
, CachedRayTracingMeshCommandsMode(ERayTracingMeshCommandsMode::RAY_TRACING)
#endif
, SkyLight(NULL)
, ConvolvedSkyRenderTargetReadyIndex(-1)
, RealTimeSlicedReflectionCaptureFirstFrameState(ERealTimeSlicedReflectionCaptureFirstFrameState::INIT)