Re-disable texture scale fields, fix wall brightness label not being greyed out

This commit is contained in:
spherallic 2023-09-08 12:16:26 +02:00
parent 1e512db7f5
commit 50aa71245c

View file

@ -237,17 +237,37 @@ namespace CodeImp.DoomBuilder.Windows
labelBackOffsetBottom.Enabled = false; labelBackOffsetBottom.Enabled = false;
} }
// Diable brightness controls? // Disable brightness controls?
if (!General.Map.Config.DistinctWallBrightness) if (!General.Map.Config.DistinctWallBrightness)
{ {
labelLightFront.Enabled = false;
lightFront.Enabled = false; lightFront.Enabled = false;
cbLightAbsoluteFront.Enabled = false; cbLightAbsoluteFront.Enabled = false;
resetfrontlight.Enabled = false; resetfrontlight.Enabled = false;
labelLightBack.Enabled = false;
lightBack.Enabled = false; lightBack.Enabled = false;
cbLightAbsoluteBack.Enabled = false; cbLightAbsoluteBack.Enabled = false;
resetbacklight.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 #endregion