mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-17 20:23:21 +01:00
290f326015
Our facial offsets currently regenerate all body icons every time a mob with a facial offset rotates. This includes eyes and... all underwear, but is mostly problematic because of former - it means that every time a mob with eyes and offsets rotates they re-animate their eyelids, which could cause immense lag when done en-masse (see #90387). We don't have any human heads that have both facial offsets ***and*** eyes, so this is mostly futureproofing + could help downstreams. I fixed it by separating eyes from body into their own layer, and just readjusting all offsets without recreating them when our mob rotates. 🆑 refactor: Refactored how facial offsets interact with eye rendering, potentially optimizing future species that use this feature. /🆑