carson-katri / carson-katri/geometry-script
Node name collisions in Blender 3.5
- Dominant language
- Python
- Stars
- 339
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.