Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change per frame software skinning check to is_visible
My mistake I missed this before the PR got merged: is_visible_in_tree() should be avoided being called per frame unless absolutely necessary, because it is a recursive function that traverses the scene tree. It should be used when deciding on rare occasions whether to switch on or off skeleton processing, but it is better to use the cheaper is_visible() check on the per frame update.
- Loading branch information