mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
Fix an issue with the Stair Sector Builder and improve the default settings.
This commit is contained in:
parent
2afc9eb7e4
commit
ae0812145b
2 changed files with 13 additions and 18 deletions
|
@ -393,7 +393,7 @@ namespace CodeImp.DoomBuilder.StairSectorBuilderMode
|
|||
|
||||
private void StairSectorBuilderForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
sectordepth.Text = "32";
|
||||
sectordepth.Text = General.Map.Grid.GridSize.ToString();
|
||||
spacing.Text = "0";
|
||||
numberofsectors.Text = "1";
|
||||
autocurveinnervertexmultiplier.Text = "1";
|
||||
|
@ -892,15 +892,6 @@ namespace CodeImp.DoomBuilder.StairSectorBuilderMode
|
|||
ceilingbase.Text = originalceilingbase.ToString();
|
||||
}
|
||||
|
||||
private void prefabs_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
if (prefabs.SelectedIndices.Count == 0) return;
|
||||
|
||||
LoadPrefab(prefabs.SelectedIndices[0]);
|
||||
|
||||
DoRedrawDisplay();
|
||||
}
|
||||
|
||||
private void distinctsectors_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
DoRedrawDisplay();
|
||||
|
|
|
@ -721,9 +721,10 @@
|
|||
//
|
||||
// lowerunpegged
|
||||
//
|
||||
this.lowerunpegged.Enabled = false;
|
||||
this.lowerunpegged.AutoSize = true;
|
||||
this.lowerunpegged.Checked = true;
|
||||
this.lowerunpegged.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.lowerunpegged.Checked = false;
|
||||
this.lowerunpegged.CheckState = System.Windows.Forms.CheckState.Unchecked;
|
||||
this.lowerunpegged.Location = new System.Drawing.Point(9, 156);
|
||||
this.lowerunpegged.Name = "lowerunpegged";
|
||||
this.lowerunpegged.Size = new System.Drawing.Size(75, 18);
|
||||
|
@ -733,6 +734,7 @@
|
|||
//
|
||||
// lowertexturetexture
|
||||
//
|
||||
this.lowertexturetexture.Enabled = false;
|
||||
this.lowertexturetexture.Location = new System.Drawing.Point(8, 23);
|
||||
this.lowertexturetexture.MultipleTextures = false;
|
||||
this.lowertexturetexture.Name = "lowertexturetexture";
|
||||
|
@ -744,8 +746,8 @@
|
|||
// lowertexture
|
||||
//
|
||||
this.lowertexture.AutoSize = true;
|
||||
this.lowertexture.Checked = true;
|
||||
this.lowertexture.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.lowertexture.Checked = false;
|
||||
this.lowertexture.CheckState = System.Windows.Forms.CheckState.Unchecked;
|
||||
this.lowertexture.Location = new System.Drawing.Point(9, -1);
|
||||
this.lowertexture.Name = "lowertexture";
|
||||
this.lowertexture.Size = new System.Drawing.Size(95, 18);
|
||||
|
@ -767,9 +769,10 @@
|
|||
//
|
||||
// upperunpegged
|
||||
//
|
||||
this.upperunpegged.Enabled = false;
|
||||
this.upperunpegged.AutoSize = true;
|
||||
this.upperunpegged.Checked = true;
|
||||
this.upperunpegged.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.upperunpegged.Checked = false;
|
||||
this.upperunpegged.CheckState = System.Windows.Forms.CheckState.Unchecked;
|
||||
this.upperunpegged.Location = new System.Drawing.Point(9, 156);
|
||||
this.upperunpegged.Name = "upperunpegged";
|
||||
this.upperunpegged.Size = new System.Drawing.Size(75, 18);
|
||||
|
@ -779,6 +782,7 @@
|
|||
//
|
||||
// uppertexturetexture
|
||||
//
|
||||
this.uppertexturetexture.Enabled = false;
|
||||
this.uppertexturetexture.Location = new System.Drawing.Point(8, 23);
|
||||
this.uppertexturetexture.MultipleTextures = false;
|
||||
this.uppertexturetexture.Name = "uppertexturetexture";
|
||||
|
@ -790,8 +794,8 @@
|
|||
// uppertexture
|
||||
//
|
||||
this.uppertexture.AutoSize = true;
|
||||
this.uppertexture.Checked = true;
|
||||
this.uppertexture.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.uppertexture.Checked = false;
|
||||
this.uppertexture.CheckState = System.Windows.Forms.CheckState.Unchecked;
|
||||
this.uppertexture.Location = new System.Drawing.Point(9, -1);
|
||||
this.uppertexture.Name = "uppertexture";
|
||||
this.uppertexture.Size = new System.Drawing.Size(92, 18);
|
||||
|
|
Loading…
Reference in a new issue