Thanks for the reviews, i know it's a lot of code.
I wonder if we really want to use the green color for the backdrop. It seems like many node trees will be very green that way. Did we…
Went over all the unwanted formatting changes, should be ok.
Note that this may not happen under all circumstances. The topology cache can be rebuilt by other operations, which hides this bug.
I'll add a
bNodeSocketType
argument to that callback to make it a classmethod
Aaaand unfortunately this also does not work: The callback is a full member of the NodeSocket
class and as…
Found one more issue with custom socket types (we should turn the custom_nodes.py script into a test!):
The [typeinfo->draw_color
](https://projects.blender.org/LukasTonne/blender/src/commit/8693…
This is ancient drawing code, the panel is just a simplified version of sockets (see bNodeSocketRuntime
above). I'd rather not add new code here unless necessary, this can be changed later. The…