We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14edae0 commit 53702c1Copy full SHA for 53702c1
NodeGraphQt/widgets/viewer.py
@@ -332,12 +332,8 @@ def sceneMousePressEvent(self, event):
332
pipe = pipe_items[0]
333
attr = {IN_PORT: 'output_port', OUT_PORT: 'input_port'}
334
from_port = pipe.port_from_pos(pos, True)
335
- to_port = getattr(pipe, attr[from_port.port_type])
336
- if not from_port.multi_connection and from_port.connected_ports:
337
- self._detached_port = from_port.connected_ports[0]
338
- elif not to_port.multi_connection:
339
- self._detached_port = to_port
340
+ self._detached_port = getattr(pipe, attr[from_port.port_type])
341
self.start_live_connection(from_port)
342
self._live_pipe.draw_path(self._start_port, None, pos)
343
pipe.delete()
0 commit comments