Skip to content
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

Fix enabling sockets in Blender 4.0 #5060

Open
Durman opened this issue Nov 15, 2023 · 0 comments
Open

Fix enabling sockets in Blender 4.0 #5060

Durman opened this issue Nov 15, 2023 · 0 comments

Comments

@Durman
Copy link
Collaborator

Durman commented Nov 15, 2023

Problem statement

https://projects.blender.org/blender/blender/pulls/113984

image

Reqired changes for Blender 4.0:

- node.inputs[name].enabled = Ture 
+ for socket in node.inputs:
+     if socket.name == name:
+         socket.enabled = Ture
@Durman Durman added this to the Sverchok v1.3 milestone Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants