Skip to content

Commit

Permalink
Remove redundant call
Browse files Browse the repository at this point in the history
  • Loading branch information
gotmachine committed Mar 2, 2024
1 parent 4ddcdec commit c45af8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static void GetRenderersRecursive(Transform parent, List<Renderer> renderers, Li
{
Transform child = parent.GetChild(i);
if (child.gameObject.activeSelf)
GetRenderersRecursive(parent.GetChild(i), renderers, excludedGOs);
GetRenderersRecursive(child, renderers, excludedGOs);
}
}

Expand Down

0 comments on commit c45af8c

Please sign in to comment.