Skip to content

Commit

Permalink
cleaning from sv_is_linked
Browse files Browse the repository at this point in the history
  • Loading branch information
Durman committed Jan 7, 2020
1 parent 61fe388 commit 5822f97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/socket_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def SvGetSocket(socket, deepcopy=True):
set to False and increase performance substanstilly
"""
global socket_data_cache
if socket.is_linked or socket.sv_is_linked:
if socket.is_linked:
other = socket.other
s_id = other.socket_id
s_ng = other.id_data.name
Expand Down
2 changes: 1 addition & 1 deletion data_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ def get_other_socket(socket):
Will return None if there isn't a another socket connect
so no need to check socket.links
"""
if not (socket.is_linked or socket.sv_is_linked):
if not socket.is_linked:
return None
if not socket.is_output:
other = socket.links[0].from_socket
Expand Down

0 comments on commit 5822f97

Please sign in to comment.