Temp revert bfres fix since there are still bugs

This commit is contained in:
KillzXGaming 2023-07-31 20:49:14 -04:00
parent 55a9c5181b
commit 53f9e0de65
2 changed files with 4 additions and 4 deletions

View file

@ -48,14 +48,14 @@ namespace FirstPlugin.Forms
if (mat.Material != null)
{
var shaderAssignV10 = mat.Material.ShaderAssign as MaterialParserV10.ShaderAssignV10;
/* var shaderAssignV10 = mat.Material.ShaderAssign as MaterialParserV10.ShaderAssignV10;
if (shaderAssignV10 != null)
{
chkBindAnim.Visible = true;
chkBindAnim.Checked = shaderAssignV10.IsAnimationBinded;
}
else
chkBindAnim.Visible = false;
chkBindAnim.Visible = false;*/
}
else
chkBindAnim.Visible = false;
@ -324,9 +324,9 @@ namespace FirstPlugin.Forms
if (!init || material.Material == null)
return;
var shaderAssignV10 = material.Material.ShaderAssign as MaterialParserV10.ShaderAssignV10;
/* var shaderAssignV10 = material.Material.ShaderAssign as MaterialParserV10.ShaderAssignV10;
if (shaderAssignV10 != null)
shaderAssignV10.IsAnimationBinded = chkBindAnim.Checked;
shaderAssignV10.IsAnimationBinded = chkBindAnim.Checked;*/
}
}
}