From 50aa71245c59e3c750a894b53137ef913b4efd40 Mon Sep 17 00:00:00 2001 From: spherallic Date: Fri, 8 Sep 2023 12:16:26 +0200 Subject: [PATCH] Re-disable texture scale fields, fix wall brightness label not being greyed out --- Source/Core/Windows/LinedefEditFormSRB2.cs | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Source/Core/Windows/LinedefEditFormSRB2.cs b/Source/Core/Windows/LinedefEditFormSRB2.cs index 1604a9ed..1f866083 100644 --- a/Source/Core/Windows/LinedefEditFormSRB2.cs +++ b/Source/Core/Windows/LinedefEditFormSRB2.cs @@ -237,17 +237,37 @@ namespace CodeImp.DoomBuilder.Windows labelBackOffsetBottom.Enabled = false; } - // Diable brightness controls? + // Disable brightness controls? if (!General.Map.Config.DistinctWallBrightness) { + labelLightFront.Enabled = false; lightFront.Enabled = false; cbLightAbsoluteFront.Enabled = false; resetfrontlight.Enabled = false; + labelLightBack.Enabled = false; lightBack.Enabled = false; cbLightAbsoluteBack.Enabled = false; resetbacklight.Enabled = false; } + + // Disable texture scaling, for now. + pfcFrontScaleTop.Enabled = false; + pfcFrontScaleMid.Enabled = false; + pfcFrontScaleBottom.Enabled = false; + + pfcBackScaleTop.Enabled = false; + pfcBackScaleMid.Enabled = false; + pfcBackScaleBottom.Enabled = false; + + labelFrontScaleTop.Enabled = false; + labelFrontScaleMid.Enabled = false; + labelFrontScaleBottom.Enabled = false; + + labelBackScaleTop.Enabled = false; + labelBackScaleMid.Enabled = false; + labelBackScaleBottom.Enabled = false; + } #endregion