mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
parent
933fb1978f
commit
e7747c0d93
1 changed files with 2 additions and 0 deletions
|
|
@ -1276,6 +1276,8 @@ class NodeSocket(_StructRNA, metaclass=_RNAMetaPropGroup):
|
|||
"""
|
||||
List of node links from or to this socket.
|
||||
|
||||
:type: :class:`NodeLinks`
|
||||
|
||||
.. note:: Takes ``O(len(nodetree.links))`` time."""
|
||||
links = (link for link in self.id_data.links
|
||||
if self in (link.from_socket, link.to_socket))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue