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) {
|
2019-11-23 23:07:31 +01:00
|
|
|
|
Settings.UseVertexColors = chkVertexColors.Checked;
|
2019-11-23 23:04:58 +01:00
|
|
|
|
}
|
2019-12-08 02:16:13 +01:00
|
|
|
|
|
|
|
|
|
private void chkExportRiggedBonesOnly_CheckedChanged(object sender, EventArgs e) {
|
|
|
|
|
Settings.OnlyExportRiggedBones = chkExportRiggedBonesOnly.Checked;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void contentContainer_Paint(object sender, PaintEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2020-01-18 23:25:27 +01:00
|
|
|
|
|
|
|
|
|
private void chkApplyUVTransforms_CheckedChanged(object sender, EventArgs e) {
|
|
|
|
|
Settings.TransformColorUVs = chkApplyUVTransforms.Checked;
|
|
|
|
|
}
|
2019-05-24 21:15:35 +02:00
|
|
|
|
}
|
|
|
|
|
}
|