mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-16 09:38:05 +00:00
Fix visible toggles for materials and bones
This commit is contained in:
parent
72f1feb51f
commit
511edc1e99
7 changed files with 15 additions and 6 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -36,17 +36,17 @@
|
|||
this.textBoxShaderModel = new Switch_Toolbox.Library.Forms.STTextBox();
|
||||
this.stTabControl1 = new Switch_Toolbox.Library.Forms.STTabControl();
|
||||
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||
this.samplerEditor1 = new Forms.SamplerEditor();
|
||||
this.samplerEditor1 = new FirstPlugin.Forms.SamplerEditor();
|
||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||
this.uvEditor1 = new Switch_Toolbox.Library.Forms.UVEditor();
|
||||
this.tabPage3 = new System.Windows.Forms.TabPage();
|
||||
this.shaderParamEditor1 = new Forms.ShaderParamEditor();
|
||||
this.shaderParamEditor1 = new FirstPlugin.Forms.ShaderParamEditor();
|
||||
this.tabPage4 = new System.Windows.Forms.TabPage();
|
||||
this.renderInfoEditor1 = new Forms.RenderInfoEditor();
|
||||
this.renderInfoEditor1 = new FirstPlugin.Forms.RenderInfoEditor();
|
||||
this.tabPage5 = new System.Windows.Forms.TabPage();
|
||||
this.shaderOptionsEditor1 = new Forms.ShaderOptionsEditor();
|
||||
this.shaderOptionsEditor1 = new FirstPlugin.Forms.ShaderOptionsEditor();
|
||||
this.tabPage6 = new System.Windows.Forms.TabPage();
|
||||
this.userDataEditor = new UserDataEditor();
|
||||
this.userDataEditor = new FirstPlugin.UserDataEditor();
|
||||
this.label2 = new Switch_Toolbox.Library.Forms.STLabel();
|
||||
this.textBoxShaderArchive = new Switch_Toolbox.Library.Forms.STTextBox();
|
||||
this.label1 = new Switch_Toolbox.Library.Forms.STLabel();
|
||||
|
@ -92,6 +92,7 @@
|
|||
this.chkboxVisible.TabIndex = 43;
|
||||
this.chkboxVisible.Text = "Visible";
|
||||
this.chkboxVisible.UseVisualStyleBackColor = true;
|
||||
this.chkboxVisible.CheckedChanged += new System.EventHandler(this.chkboxVisible_CheckedChanged_1);
|
||||
//
|
||||
// label3
|
||||
//
|
||||
|
|
|
@ -314,5 +314,9 @@ namespace FirstPlugin.Forms
|
|||
private void textBoxShaderModel_TextChanged(object sender, EventArgs e) {
|
||||
material.shaderassign.ShaderModel = textBoxShaderModel.Text;
|
||||
}
|
||||
|
||||
private void chkboxVisible_CheckedChanged_1(object sender, EventArgs e) {
|
||||
material.Enabled = chkboxVisible.Enabled;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -86,6 +86,7 @@
|
|||
this.visibleChk.Size = new System.Drawing.Size(15, 14);
|
||||
this.visibleChk.TabIndex = 4;
|
||||
this.visibleChk.UseVisualStyleBackColor = true;
|
||||
this.visibleChk.CheckedChanged += new System.EventHandler(this.visibleChk_CheckedChanged);
|
||||
//
|
||||
// stLabel3
|
||||
//
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace FirstPlugin
|
|||
|
||||
nameTB.Bind(bn, "BoneName");
|
||||
parentIndexUD.Bind(bn, "parentIndex");
|
||||
visibleChk.Bind(bn, "IsVisible");
|
||||
visibleChk.Bind(bn, "Visible");
|
||||
|
||||
Loaded = true;
|
||||
}
|
||||
|
@ -47,5 +47,8 @@ namespace FirstPlugin
|
|||
{
|
||||
|
||||
}
|
||||
|
||||
private void visibleChk_CheckedChanged(object sender, EventArgs e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue