lugosieben / utools

Simple tools for the survival experience. This should act as an replacement to having tons of mods for things like Fullbright, Zoom etc. - License: CC BY-NC 4.0
https://modrinth.com/mod/utools
Other
4 stars 2 forks source link

Zoom (Toggle?) breaks the game renderer #39

Open gepron1x opened 1 month ago

gepron1x commented 1 month ago

So, i toggled zoom and everything on my screen disappeared except sky. This only happens some times, not sure when. Followed by the spam in the console:

[16:31:33] [Render thread/ERROR]: Invalid entity rotation: NaN, discarding.
[16:31:33] [Render thread/ERROR]: Invalid entity rotation: NaN, discarding.
[16:31:33] [Render thread/ERROR]: Invalid entity rotation: NaN, discarding.
[16:31:33] [Render thread/ERROR]: Invalid entity rotation: NaN, discarding.
[16:31:33] [Render thread/ERROR]: Invalid entity rotation: NaN, discarding.
[16:31:33] [Render thread/ERROR]: Invalid entity rotation: NaN, discarding.
[16:31:33] [Render thread/ERROR]: Invalid entity rotation: NaN, discarding.

Toggling zoom did not help.

gepron1x commented 1 month ago

Oh, this happens when zoom duration is set to 0

lugosieben commented 1 month ago

To have an instant zoom, you can change the In and Out Easings to INSTANT.

I'll make it so zoom duration 0 will just toggle the functionality as a whole, for now