- [Core] Added export option to include materials with models in /Materials.

- [GUI] fix issue with `Reset` button causing unintended behaviour.
- [Core] fix bug where `Logger` causes performance issues.
This commit is contained in:
Razmoth
2024-01-30 19:57:10 +04:00
parent f2d65e458c
commit 92d7470082
14 changed files with 144 additions and 152 deletions

View File

@@ -66,6 +66,7 @@ namespace AssetStudio.GUI
converttexture = new CheckBox();
collectAnimations = new CheckBox();
groupBox2 = new GroupBox();
exportMaterials = new CheckBox();
exportBlendShape = new CheckBox();
exportAnimations = new CheckBox();
scaleFactor = new NumericUpDown();
@@ -471,6 +472,7 @@ namespace AssetStudio.GUI
// groupBox2
//
groupBox2.AutoSize = true;
groupBox2.Controls.Add(exportMaterials);
groupBox2.Controls.Add(collectAnimations);
groupBox2.Controls.Add(exportBlendShape);
groupBox2.Controls.Add(exportAnimations);
@@ -497,6 +499,17 @@ namespace AssetStudio.GUI
groupBox2.TabStop = false;
groupBox2.Text = "Fbx";
//
// exportMaterials
//
exportMaterials.AutoSize = true;
exportMaterials.Location = new System.Drawing.Point(154, 96);
exportMaterials.Margin = new Padding(4);
exportMaterials.Name = "exportMaterials";
exportMaterials.Size = new System.Drawing.Size(111, 19);
exportMaterials.TabIndex = 25;
exportMaterials.Text = "Export materials";
exportMaterials.UseVisualStyleBackColor = true;
//
// exportBlendShape
//
exportBlendShape.AutoSize = true;
@@ -780,5 +793,6 @@ namespace AssetStudio.GUI
private ComboBox texNameComboBox;
private Button addTexNameButton;
private Button removeTexNameButton;
private CheckBox exportMaterials;
}
}