Closed TKUsaneers closed 4 years ago
I believe the fix would be to remove the active bool altogether. It was there in the first place to prevent duplicate calls to the same operation from a while ago. Can't test tho, I'm on campus atm
Commit 5991fc7b9bfd7654e24f32bc7b28876f6e07232f should have fixed this, let me know
Works, thank you!
Gizmos are only drawn by the first camera (aka the first raise of Camera.onPostRender(...)) each frame.
Bug location: https://github.com/popcron/gizmos/blob/58288ca4a20ada517435f1f46cfb4826c02297fa/Runtime/GizmosInstance.cs#L278 Element.active is set to false after first camera's rendering call. This should only happen after all cameras rendered.