Skip to content

Commit

Permalink
Fix the Kopernicus-KSP-EVE-??? rendering queue mess
Browse files Browse the repository at this point in the history
StollD committed Apr 27, 2018

Verified

This commit was signed with the committer’s verified signature.
StollD Dorian Stoll
1 parent c8201f2 commit ba7682d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Kopernicus.Components/Ring.cs
Original file line number Diff line number Diff line change
@@ -218,8 +218,8 @@ public void BuildRing()
}

ringMR.material.color = color;
ringMR.material.renderQueue = parentRenderer.material.renderQueue;
parentRenderer.material.renderQueue--;
ringMR.material.renderQueue = 3010;
parent.GetChild("Atmosphere").GetComponent<Renderer>().material.renderQueue = 3020;

// Call the modules
Components.ForEach(m => m.PostApply(this));

0 comments on commit ba7682d

Please sign in to comment.