Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Commit

Permalink
Setting shader works properly
Browse files Browse the repository at this point in the history
  • Loading branch information
soopercool101 committed May 17, 2019
1 parent 4b5f8ec commit f9800f5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions BrawlLib/SSBB/ResourceNodes/MDL0/MDL0ShaderNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -271,7 +265,7 @@ public override bool OnInitialize()
}

_swapBlock = *Header->SwapBlock;
_name = ToString();
_name = "Shader " + Index;
_origIndex = Index;
return Header->_stages > 0;
}
Expand Down

0 comments on commit f9800f5

Please sign in to comment.