diff --git a/BrawlLib/SSBB/ResourceNodes/MDL0/MDL0ShaderNode.cs b/BrawlLib/SSBB/ResourceNodes/MDL0/MDL0ShaderNode.cs index 57b22668..8642136b 100644 --- a/BrawlLib/SSBB/ResourceNodes/MDL0/MDL0ShaderNode.cs +++ b/BrawlLib/SSBB/ResourceNodes/MDL0/MDL0ShaderNode.cs @@ -142,12 +142,6 @@ public override void SignalPropertyChange() public int _texCount = -1; public bool _rendered = false; - public override string ToString() - { - return String.Format("Shader {0}", _origIndex); - //return String.Format("Shader {0}", Index) + ((_origIndex != -1 && _origIndex != Index) ? String.Format(" (Originally Shader {0})", _origIndex) : ""); - } - public void Default() { Default(true); } public void Default(bool change) { @@ -271,7 +265,7 @@ public override bool OnInitialize() } _swapBlock = *Header->SwapBlock; - _name = ToString(); + _name = "Shader " + Index; _origIndex = Index; return Header->_stages > 0; }