Fix an issue with the Stair Sector Builder and improve the default settings.
This commit is contained in:
parent
2afc9eb7e4
commit
ae0812145b
|
@ -393,7 +393,7 @@ namespace CodeImp.DoomBuilder.StairSectorBuilderMode
|
||||||
|
|
||||||
private void StairSectorBuilderForm_Load(object sender, EventArgs e)
|
private void StairSectorBuilderForm_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
sectordepth.Text = "32";
|
sectordepth.Text = General.Map.Grid.GridSize.ToString();
|
||||||
spacing.Text = "0";
|
spacing.Text = "0";
|
||||||
numberofsectors.Text = "1";
|
numberofsectors.Text = "1";
|
||||||
autocurveinnervertexmultiplier.Text = "1";
|
autocurveinnervertexmultiplier.Text = "1";
|
||||||
|
@ -892,15 +892,6 @@ namespace CodeImp.DoomBuilder.StairSectorBuilderMode
|
||||||
ceilingbase.Text = originalceilingbase.ToString();
|
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)
|
private void distinctsectors_CheckedChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
DoRedrawDisplay();
|
DoRedrawDisplay();
|
||||||
|
|
|
@ -721,9 +721,10 @@
|
||||||
//
|
//
|
||||||
// lowerunpegged
|
// lowerunpegged
|
||||||
//
|
//
|
||||||
|
this.lowerunpegged.Enabled = false;
|
||||||
this.lowerunpegged.AutoSize = true;
|
this.lowerunpegged.AutoSize = true;
|
||||||
this.lowerunpegged.Checked = true;
|
this.lowerunpegged.Checked = false;
|
||||||
this.lowerunpegged.CheckState = System.Windows.Forms.CheckState.Checked;
|
this.lowerunpegged.CheckState = System.Windows.Forms.CheckState.Unchecked;
|
||||||
this.lowerunpegged.Location = new System.Drawing.Point(9, 156);
|
this.lowerunpegged.Location = new System.Drawing.Point(9, 156);
|
||||||
this.lowerunpegged.Name = "lowerunpegged";
|
this.lowerunpegged.Name = "lowerunpegged";
|
||||||
this.lowerunpegged.Size = new System.Drawing.Size(75, 18);
|
this.lowerunpegged.Size = new System.Drawing.Size(75, 18);
|
||||||
|
@ -733,6 +734,7 @@
|
||||||
//
|
//
|
||||||
// lowertexturetexture
|
// lowertexturetexture
|
||||||
//
|
//
|
||||||
|
this.lowertexturetexture.Enabled = false;
|
||||||
this.lowertexturetexture.Location = new System.Drawing.Point(8, 23);
|
this.lowertexturetexture.Location = new System.Drawing.Point(8, 23);
|
||||||
this.lowertexturetexture.MultipleTextures = false;
|
this.lowertexturetexture.MultipleTextures = false;
|
||||||
this.lowertexturetexture.Name = "lowertexturetexture";
|
this.lowertexturetexture.Name = "lowertexturetexture";
|
||||||
|
@ -744,8 +746,8 @@
|
||||||
// lowertexture
|
// lowertexture
|
||||||
//
|
//
|
||||||
this.lowertexture.AutoSize = true;
|
this.lowertexture.AutoSize = true;
|
||||||
this.lowertexture.Checked = true;
|
this.lowertexture.Checked = false;
|
||||||
this.lowertexture.CheckState = System.Windows.Forms.CheckState.Checked;
|
this.lowertexture.CheckState = System.Windows.Forms.CheckState.Unchecked;
|
||||||
this.lowertexture.Location = new System.Drawing.Point(9, -1);
|
this.lowertexture.Location = new System.Drawing.Point(9, -1);
|
||||||
this.lowertexture.Name = "lowertexture";
|
this.lowertexture.Name = "lowertexture";
|
||||||
this.lowertexture.Size = new System.Drawing.Size(95, 18);
|
this.lowertexture.Size = new System.Drawing.Size(95, 18);
|
||||||
|
@ -767,9 +769,10 @@
|
||||||
//
|
//
|
||||||
// upperunpegged
|
// upperunpegged
|
||||||
//
|
//
|
||||||
|
this.upperunpegged.Enabled = false;
|
||||||
this.upperunpegged.AutoSize = true;
|
this.upperunpegged.AutoSize = true;
|
||||||
this.upperunpegged.Checked = true;
|
this.upperunpegged.Checked = false;
|
||||||
this.upperunpegged.CheckState = System.Windows.Forms.CheckState.Checked;
|
this.upperunpegged.CheckState = System.Windows.Forms.CheckState.Unchecked;
|
||||||
this.upperunpegged.Location = new System.Drawing.Point(9, 156);
|
this.upperunpegged.Location = new System.Drawing.Point(9, 156);
|
||||||
this.upperunpegged.Name = "upperunpegged";
|
this.upperunpegged.Name = "upperunpegged";
|
||||||
this.upperunpegged.Size = new System.Drawing.Size(75, 18);
|
this.upperunpegged.Size = new System.Drawing.Size(75, 18);
|
||||||
|
@ -779,6 +782,7 @@
|
||||||
//
|
//
|
||||||
// uppertexturetexture
|
// uppertexturetexture
|
||||||
//
|
//
|
||||||
|
this.uppertexturetexture.Enabled = false;
|
||||||
this.uppertexturetexture.Location = new System.Drawing.Point(8, 23);
|
this.uppertexturetexture.Location = new System.Drawing.Point(8, 23);
|
||||||
this.uppertexturetexture.MultipleTextures = false;
|
this.uppertexturetexture.MultipleTextures = false;
|
||||||
this.uppertexturetexture.Name = "uppertexturetexture";
|
this.uppertexturetexture.Name = "uppertexturetexture";
|
||||||
|
@ -790,8 +794,8 @@
|
||||||
// uppertexture
|
// uppertexture
|
||||||
//
|
//
|
||||||
this.uppertexture.AutoSize = true;
|
this.uppertexture.AutoSize = true;
|
||||||
this.uppertexture.Checked = true;
|
this.uppertexture.Checked = false;
|
||||||
this.uppertexture.CheckState = System.Windows.Forms.CheckState.Checked;
|
this.uppertexture.CheckState = System.Windows.Forms.CheckState.Unchecked;
|
||||||
this.uppertexture.Location = new System.Drawing.Point(9, -1);
|
this.uppertexture.Location = new System.Drawing.Point(9, -1);
|
||||||
this.uppertexture.Name = "uppertexture";
|
this.uppertexture.Name = "uppertexture";
|
||||||
this.uppertexture.Size = new System.Drawing.Size(92, 18);
|
this.uppertexture.Size = new System.Drawing.Size(92, 18);
|
||||||
|
|
Loading…
Reference in New Issue