2019-05-24 21:15:35 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
2019-07-16 23:35:21 +02:00
|
|
|
|
namespace Toolbox.Library.Forms
|
2019-05-24 21:15:35 +02:00
|
|
|
|
{
|
|
|
|
|
public partial class ExportModelSettings : STForm
|
|
|
|
|
{
|
2019-11-16 01:27:03 +01:00
|
|
|
|
public DAE.ExportSettings Settings = new DAE.ExportSettings();
|
2019-05-24 21:15:35 +02:00
|
|
|
|
|
|
|
|
|
public ExportModelSettings()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
2019-11-16 01:27:03 +01:00
|
|
|
|
|
|
|
|
|
chkFlipUvsVertical.Checked = Settings.FlipTexCoordsVertical;
|
|
|
|
|
exportTexturesChkBox.Checked = Settings.ExportTextures;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void exportTexturesChkBox_CheckedChanged(object sender, EventArgs e) {
|
|
|
|
|
Settings.ExportTextures = exportTexturesChkBox.Checked;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void chkFlipUvsVertical_CheckedChanged(object sender, EventArgs e) {
|
|
|
|
|
Settings.FlipTexCoordsVertical = chkFlipUvsVertical.Checked;
|
2019-05-24 21:15:35 +02:00
|
|
|
|
}
|
2019-11-16 14:58:10 +01:00
|
|
|
|
|
|
|
|
|
private void stCheckBox1_CheckedChanged(object sender, EventArgs e) {
|
|
|
|
|
Settings.UseOldExporter = chkOldExporter.Checked;
|
|
|
|
|
}
|
2019-11-23 23:04:58 +01:00
|
|
|
|
|
|
|
|
|
private void chkVertexColors_CheckedChanged(object sender, EventArgs e) {
|
|
|
|
|
Settings.UseVertexColors = chkOldExporter.Checked;
|
|
|
|
|
}
|
2019-05-24 21:15:35 +02:00
|
|
|
|
}
|
|
|
|
|
}
|