mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2025-02-07 08:21:10 +00:00
Fix "Back" option never being checked when loading default stair builder preset
This commit is contained in:
parent
13b2156b08
commit
6327ac9e51
1 changed files with 10 additions and 1 deletions
|
@ -76,6 +76,12 @@ namespace CodeImp.DoomBuilder.StairSectorBuilderMode
|
|||
set { sidefront.Checked = value; }
|
||||
}
|
||||
|
||||
public bool SideBack
|
||||
{
|
||||
get { return sideback.Checked; }
|
||||
set { sideback.Checked = value; }
|
||||
}
|
||||
|
||||
public CheckBox DistinctBaseHeights
|
||||
{
|
||||
get { return distinctbaseheights; }
|
||||
|
@ -721,7 +727,7 @@ namespace CodeImp.DoomBuilder.StairSectorBuilderMode
|
|||
pf.sectordepth = (int)SectorDepth;
|
||||
pf.spacing = Spacing;
|
||||
pf.frontside = SideFront;
|
||||
pf.singlesteps = SingleSteps.Checked;
|
||||
pf.singlesteps = SingleSteps.Checked;
|
||||
pf.distinctsectors = distinctsectors.Checked;
|
||||
pf.singledirection = SingleDirection.Checked;
|
||||
pf.distinctbaseheights = DistinctBaseHeights.Checked;
|
||||
|
@ -807,6 +813,9 @@ namespace CodeImp.DoomBuilder.StairSectorBuilderMode
|
|||
SingleDirection.Checked = p.singledirection;
|
||||
DistinctBaseHeights.Checked = p.distinctbaseheights;
|
||||
|
||||
if (!SideFront)
|
||||
SideBack = true;
|
||||
|
||||
// Auto curve TODO
|
||||
Flipping = p.flipping;
|
||||
|
||||
|
|
Loading…
Reference in a new issue