- So, it looks like blender's bpy.utils.register_tool is weirdly broken. It throws a useless exception after checking if the tool already exists (instead of unregistering it like with operators), but unregister_tool() checks for the registration in the wrong class, so it also breaks. #b3d #blender3d
- This is in 4.2.7 LTS btwFeb 27, 2025 21:44
- While we're here: things that make me cry in the bpy codebase: - files > 1000 lines long - inline imports in the body of functions - definition of helpers inside the body of functions (that are then called only once) - the amount of magic strings - not subclassing Exception why, blender, why