Fix #113433: Avoid calling registered custom node function #113540

Merged
Lukas Tönne merged 1 commits from LukasTonne/blender:fix-valid-node-group-socket-check into blender-v4.0-release 2023-10-11 15:41:48 +02:00

1 Commits

Author SHA1 Message Date
Lukas Tönne 9092641127 Fix #113134: Avoid calling registered custom node function.
The `valid_socket_type` classmethod in node trees is only available on
custom node trees (but documentation does not say that). It cannot be
used to determine if the default float socket type is valid for built-in
node tree types. We have to assume this socket type is always valid for
built-in node trees, or the operator will try to call a non-existent
method.
2023-10-11 14:07:45 +02:00