Post AzcoBHAQy70T4uszhI by aras@mastodon.gamedev.place
 (DIR) More posts by aras@mastodon.gamedev.place
 (DIR) Post #AzcoB8g0XLumkEaaA4 by aras@mastodon.gamedev.place
       2025-10-27T04:50:27Z
       
       1 likes, 0 repeats
       
       I wanted to fix a :blender: bug, but ended up rewriting the code to be much shorter, faster, and work without bugs. Sometimes you have to look at the code, ask "wait what is this even trying to do?", and do it in a saner way, instead of trying to keep on patching upon the existing pile of code. https://projects.blender.org/blender/blender/pulls/148783
       
 (DIR) Post #AzcoBHAQy70T4uszhI by aras@mastodon.gamedev.place
       2025-10-27T04:51:59Z
       
       0 likes, 0 repeats
       
       Here's part of the code, before vs after. This is for calculating "wipe" screen transition effect. TBH felt like fixing some vibe-coded thing, except the original code was probably written 20+ years ago, way before vibing for code was invented :)