Temp revert bfres fix since there are still bugs
This commit is contained in:
parent
55a9c5181b
commit
53f9e0de65
@ -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…
x
Reference in New Issue
Block a user