Skip to content

Commit

Permalink
Outline Rendering of weird meshes is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
GBirch33 committed Jan 27, 2025
1 parent b1237bd commit 383d0e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void CreateOutlineCompatibilityList()
{
foreach (var rend in wearable.Renderers)
{
if (rend.sharedMaterial.renderQueue >= 2000 && rend.sharedMaterial.renderQueue < 3000)
if (rend.gameObject.activeSelf && rend.enabled && rend.sharedMaterial.renderQueue >= 2000 && rend.sharedMaterial.renderQueue < 3000)
OutlineCompatibleRenderers.Add(rend);
}
}
Expand Down

0 comments on commit 383d0e9

Please sign in to comment.