You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Moved IsStaticLightingAllowed() to RenderUtils.h and replaced relevant usage.
#rb ola.olsson [CL 27557666 by tiago costa in ue5-main branch]
This commit is contained in:
@@ -780,11 +780,8 @@ void FLevelEditorActionCallbacks::BuildLightingOnly_Execute()
|
||||
}
|
||||
|
||||
bool FLevelEditorActionCallbacks::BuildLighting_CanExecute()
|
||||
{
|
||||
static const auto AllowStaticLightingVar = IConsoleManager::Get().FindTConsoleVariableDataInt(TEXT("r.AllowStaticLighting"));
|
||||
const bool bAllowStaticLighting = (!AllowStaticLightingVar || AllowStaticLightingVar->GetValueOnGameThread() != 0);
|
||||
|
||||
return bAllowStaticLighting && CanBuildLighting() && CanBuildReflectionCaptures();
|
||||
{
|
||||
return IsStaticLightingAllowed() && CanBuildLighting() && CanBuildReflectionCaptures();
|
||||
}
|
||||
|
||||
void FLevelEditorActionCallbacks::BuildReflectionCapturesOnly_Execute()
|
||||
|
||||
Reference in New Issue
Block a user