mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
OBJ Exporter: fixed a problem where the model path controls were disabled unless creation of MODELDEF was enabled. Fixes #692
This commit is contained in:
parent
78ded20481
commit
c12b9f624d
1 changed files with 3 additions and 3 deletions
|
@ -104,7 +104,7 @@ namespace CodeImp.DoomBuilder.BuilderModes.Interface
|
|||
{
|
||||
// gbActorFormat.Enabled = gbActorSettings.Enabled = cbGenerateCode.Checked;
|
||||
gbActorFormat.Enabled = gbActorSettings.Enabled = tbActorPath.Enabled = bBrowseActorPath.Enabled = cbGenerateCode.Checked;
|
||||
tbModelPath.Enabled = bBrowseModelPath.Enabled = cbGenerateModeldef.Checked && cbExportForGZDoom.Checked;
|
||||
tbModelPath.Enabled = bBrowseModelPath.Enabled = cbExportForGZDoom.Checked;
|
||||
}
|
||||
|
||||
|
||||
|
@ -235,7 +235,7 @@ namespace CodeImp.DoomBuilder.BuilderModes.Interface
|
|||
}
|
||||
|
||||
gbActorSettings.Enabled = gbActorFormat.Enabled = tbActorPath.Enabled = bBrowseActorPath.Enabled = cbGenerateCode.Checked && cbExportForGZDoom.Checked;
|
||||
tbModelPath.Enabled = bBrowseModelPath.Enabled = cbGenerateModeldef.Checked && cbExportForGZDoom.Checked;
|
||||
tbModelPath.Enabled = bBrowseModelPath.Enabled = cbExportForGZDoom.Checked;
|
||||
|
||||
tbExportPath.Enabled = browse.Enabled = cbExportTextures.Enabled = nudScale.Enabled = !cbExportForGZDoom.Checked;
|
||||
}
|
||||
|
@ -378,7 +378,7 @@ namespace CodeImp.DoomBuilder.BuilderModes.Interface
|
|||
|
||||
private void cbGenerateModeldef_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
tbModelPath.Enabled = bBrowseModelPath.Enabled = cbGenerateModeldef.Checked && cbExportForGZDoom.Checked;
|
||||
tbModelPath.Enabled = bBrowseModelPath.Enabled = cbExportForGZDoom.Checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue