mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 15:14:55 +00:00
Automatically asign materials by name if no new ones are imported
This commit is contained in:
parent
ee5f01e44d
commit
5b1ba08874
4 changed files with 12 additions and 4 deletions
Binary file not shown.
Binary file not shown.
|
@ -771,7 +771,7 @@
|
|||
this.tabPageAdvanced.Location = new System.Drawing.Point(4, 25);
|
||||
this.tabPageAdvanced.Name = "tabPageAdvanced";
|
||||
this.tabPageAdvanced.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPageAdvanced.Size = new System.Drawing.Size(192, 71);
|
||||
this.tabPageAdvanced.Size = new System.Drawing.Size(530, 333);
|
||||
this.tabPageAdvanced.TabIndex = 0;
|
||||
this.tabPageAdvanced.Text = "Advanced Settings";
|
||||
//
|
||||
|
@ -788,7 +788,7 @@
|
|||
this.stPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.stPanel1.Location = new System.Drawing.Point(3, 3);
|
||||
this.stPanel1.Name = "stPanel1";
|
||||
this.stPanel1.Size = new System.Drawing.Size(186, 65);
|
||||
this.stPanel1.Size = new System.Drawing.Size(524, 327);
|
||||
this.stPanel1.TabIndex = 17;
|
||||
//
|
||||
// tabPage1
|
||||
|
@ -805,7 +805,7 @@
|
|||
this.tabPage1.Location = new System.Drawing.Point(4, 25);
|
||||
this.tabPage1.Name = "tabPage1";
|
||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage1.Size = new System.Drawing.Size(530, 333);
|
||||
this.tabPage1.Size = new System.Drawing.Size(192, 71);
|
||||
this.tabPage1.TabIndex = 2;
|
||||
this.tabPage1.Text = "Inject Mode";
|
||||
this.tabPage1.UseVisualStyleBackColor = true;
|
||||
|
|
|
@ -19,6 +19,7 @@ namespace FirstPlugin
|
|||
|
||||
CanResize = false;
|
||||
ogSkinCountChkBox.Checked = true;
|
||||
chkMapOriginalMaterials.Checked = true;
|
||||
|
||||
tabControl1.myBackColor = FormThemes.BaseTheme.FormBackColor;
|
||||
|
||||
|
@ -55,7 +56,14 @@ namespace FirstPlugin
|
|||
public bool ResetColorParams;
|
||||
|
||||
public bool LimitSkinCount => ogSkinCountChkBox.Checked;
|
||||
public bool MapOriginalMaterials => chkMapOriginalMaterials.Checked;
|
||||
public bool MapOriginalMaterials
|
||||
{
|
||||
get
|
||||
{
|
||||
return chkMapOriginalMaterials.Checked && chkBoxImportMat.Checked;
|
||||
}
|
||||
}
|
||||
|
||||
public bool UseOriginalAttributes => chkOriginalAttributesFormats.Checked;
|
||||
public bool UseOriginalAttributeFormats => chkOriginalAttributesFormats.Checked;
|
||||
|
||||
|
|
Loading…
Reference in a new issue