mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix #148250: Nodes: connect-to-output does not take inferenced visibility into account
Use the new `is_icon_visible` option which handles the availability, user-hidden and inferenced visibility automatically. Pull Request: https://projects.blender.org/blender/blender/pulls/148722
This commit is contained in:
parent
ce56f75433
commit
b12cc91f10
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ def get_internal_socket(socket):
|
|||
|
||||
|
||||
def is_visible_socket(socket):
|
||||
return not socket.hide and socket.enabled and socket.type != 'CUSTOM'
|
||||
return socket.is_icon_visible and socket.type != 'CUSTOM'
|
||||
|
||||
|
||||
def is_viewer_link(link, output_node):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue