Files
Bubberstation/code/modules/surgery
SmArtKar 290f326015 Refactors abyssmal eye overlay offseting code (#92154)
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.
/🆑
2025-07-30 17:37:30 -04:00
..