From 4afeb9782f4482f77d7bf19a84bb61bb5a7bcc70 Mon Sep 17 00:00:00 2001 From: MascaraSnake Date: Thu, 29 Dec 2022 22:24:21 +0100 Subject: [PATCH] Disable per-texture offsets and scaling (for now) --- Build/Configurations/Includes/SRB222_common.cfg | 1 + Source/Core/Windows/LinedefEditFormSRB2.cs | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/Build/Configurations/Includes/SRB222_common.cfg b/Build/Configurations/Includes/SRB222_common.cfg index 0ff044a6..f01e1487 100644 --- a/Build/Configurations/Includes/SRB222_common.cfg +++ b/Build/Configurations/Includes/SRB222_common.cfg @@ -120,6 +120,7 @@ mapformat_doom // When this is set to true, sectors with the same tag will light up when a line is highlighted linetagindicatesectors = true; + localsidedeftextureoffsets = false; // Special linedefs include("SRB222_misc.cfg", "speciallinedefs"); diff --git a/Source/Core/Windows/LinedefEditFormSRB2.cs b/Source/Core/Windows/LinedefEditFormSRB2.cs index 7b748512..23ef8ca0 100644 --- a/Source/Core/Windows/LinedefEditFormSRB2.cs +++ b/Source/Core/Windows/LinedefEditFormSRB2.cs @@ -226,6 +226,22 @@ namespace CodeImp.DoomBuilder.Windows labelBackOffsetMid.Enabled = false; labelBackOffsetBottom.Enabled = false; } + + 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