glTF-Blender-IO
glTF-Blender-IO copied to clipboard
Discussion: Extension Hooks
Currently to add any extensions to the import/export process, you must use one of the existing hooks. However, these do not cover every case of what an extension might need. While yes, one can submit a pull request to add new hooks, it's eventually going to get to a point where there are way too many hooks.
My question is if it's possible to migrate to a new system of sorts. I'm not sure what that would look like, but I'd be willing to help implement this
Why don't you just make a patched version of the addon? The source code could be cleaned up to make this easier (eg. using relative imports only).
I'm not really familiar with patching in python. Would you mind providing a simple example?
I mean forking the code and making whatever changes you want.
I'm currently working on the addition of import/export hooks for extras and extensions