Skip to content

Commit

Permalink
Added default index of 0 to material indices
Browse files Browse the repository at this point in the history
  • Loading branch information
Indigocoder1 committed Sep 14, 2024
1 parent 8b2ddd0 commit a86deef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Nautilus/Utility/ThunderkitUtilities/ApplySNMaterial.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class ApplySNMaterial : MonoBehaviour

[Header("Single Object Settings:")]
public Renderer renderer;
public int[] materialIndices;
public int[] materialIndices = new[] { 0 };

private void OnValidate()
{
Expand Down

0 comments on commit a86deef

Please sign in to comment.