-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Cannot create Groups if there are links going in or out of the new Group. #199
Comments
sorcar_bug.blend.zip |
Investigating the bug here |
Bug report: |
Fixed on Blender's side by https://developer.blender.org/D13817 |
The fix has been accepted. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Creating Node Groups doesn't work in Blender 3.0.0+
To Reproduce
Create a few Sorcar nodes and connect them together in a sensible way.
(I used a Bool node and an If-Else node and some other node.)
Try and create a group with some links going in or out.
Notice how the node groups cannot create links for sockets created by Sorcar,
but it seems socket classes from the bpy.types built-ins work just fine.
Try a few different kinds of links.
Expected behavior
The node group is created and linked.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Terminal output:
File Attached.
My guess is that the Blender devs added a well-meaning poll function to the builtin Group node... but it breaks Sorcar, and since my addon is using your wonderful Create Group operator as a template, mine is broken, too!
Anyhow I think the solution is to create your own custom NodeGroupIn or Out nodes, or find a way to overwrite the builtin nodes poll() method.
I don't use Sorcar myself, but since I am borrowing your code, I wanted to pass this on. I'll try to keep you updated with my own solution to the problem.
The text was updated successfully, but these errors were encountered: