You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Blender 3.5, there are several collisions of node_type.bl_rna.name.lower(), for example TextureNodeGroup and GeometryNodeGroup are both "Group" and it's the "Texture" one which gets registered as group(). The same with "Math". This leads to errors like this:
RuntimeError: Error: Cannot add node of type TextureNodeMath to node tree 'Test'
Not a texture node tree
A possible solution would be sorting the list of node types before registration so that those where node_type.__name__.startswith('GeometryNode') are registered last. If you think this is the way to solve this, I can submit a PR.
The text was updated successfully, but these errors were encountered:
In Blender 3.5, there are several collisions of
node_type.bl_rna.name.lower()
, for exampleTextureNodeGroup
andGeometryNodeGroup
are both "Group" and it's the "Texture" one which gets registered asgroup()
. The same with "Math". This leads to errors like this:A possible solution would be sorting the list of node types before registration so that those where
node_type.__name__.startswith('GeometryNode')
are registered last. If you think this is the way to solve this, I can submit a PR.The text was updated successfully, but these errors were encountered: