Fixed crash in environmen light mixer.

#rb trivial
#preflight https://horde.devtools.epicgames.com/job/61e12ed1023139f0c9162651

#ROBOMERGE-AUTHOR: sebastien.hillaire
#ROBOMERGE-SOURCE: CL 18615310 in //UE5/Release-5.0/... via CL 18615318 via CL 18615325
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18615330 by sebastien hillaire in ue5-main branch]
This commit is contained in:
sebastien hillaire
2022-01-14 03:17:28 -05:00
parent a3ff3d3e0e
commit 1558c0384e
2 changed files with 2 additions and 2 deletions
@@ -358,7 +358,7 @@ void SEnvironmentLightingViewer::Tick(const FGeometry& AllottedGeometry, const d
break;
}
}
AddComponentDetailView(HeightFogComp, "Volumetric Cloud", VolCloudColor);
AddComponentDetailView(HeightFogComp, "Height Fog", VolCloudColor);
ButtonCreateHeightFog->SetVisibility(HeightFogComp ? EVisibility::Collapsed : EVisibility::Visible);
for (int i = NumDetailsView; i < ENVLIGHT_MAX_DETAILSVIEWS; ++i)
@@ -13,7 +13,7 @@ class STextBlock;
class SButton;
struct FPropertyAndParent;
#define ENVLIGHT_MAX_DETAILSVIEWS 5
#define ENVLIGHT_MAX_DETAILSVIEWS 6
class SEnvironmentLightingViewer : public SCompoundWidget
{