mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2025-02-16 13:58:26 +00:00
Temp revert bfres fix since there are still bugs
This commit is contained in:
parent
55a9c5181b
commit
53f9e0de65
2 changed files with 4 additions and 4 deletions
|
@ -48,14 +48,14 @@ namespace FirstPlugin.Forms
|
||||||
|
|
||||||
if (mat.Material != null)
|
if (mat.Material != null)
|
||||||
{
|
{
|
||||||
var shaderAssignV10 = mat.Material.ShaderAssign as MaterialParserV10.ShaderAssignV10;
|
/* var shaderAssignV10 = mat.Material.ShaderAssign as MaterialParserV10.ShaderAssignV10;
|
||||||
if (shaderAssignV10 != null)
|
if (shaderAssignV10 != null)
|
||||||
{
|
{
|
||||||
chkBindAnim.Visible = true;
|
chkBindAnim.Visible = true;
|
||||||
chkBindAnim.Checked = shaderAssignV10.IsAnimationBinded;
|
chkBindAnim.Checked = shaderAssignV10.IsAnimationBinded;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
chkBindAnim.Visible = false;
|
chkBindAnim.Visible = false;*/
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
chkBindAnim.Visible = false;
|
chkBindAnim.Visible = false;
|
||||||
|
@ -324,9 +324,9 @@ namespace FirstPlugin.Forms
|
||||||
if (!init || material.Material == null)
|
if (!init || material.Material == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var shaderAssignV10 = material.Material.ShaderAssign as MaterialParserV10.ShaderAssignV10;
|
/* var shaderAssignV10 = material.Material.ShaderAssign as MaterialParserV10.ShaderAssignV10;
|
||||||
if (shaderAssignV10 != null)
|
if (shaderAssignV10 != null)
|
||||||
shaderAssignV10.IsAnimationBinded = chkBindAnim.Checked;
|
shaderAssignV10.IsAnimationBinded = chkBindAnim.Checked;*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Binary file not shown.
Loading…
Add table
Reference in a new issue