Skip to content

Commit 8bc477b

Browse files
committed
MMB bug fix with pipe selection
1 parent 21bb011 commit 8bc477b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

NodeGraphQt/widgets/viewer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,8 @@ def sceneMousePressEvent(self, event):
326326

327327
pipe_items = self._items_near(pos, Pipe, 3, 3)
328328
if pipe_items:
329+
if not self.LMB_state:
330+
return
329331
pipe = pipe_items[0]
330332
attr = {IN_PORT: 'output_port', OUT_PORT: 'input_port'}
331333
from_port = pipe.port_from_pos(pos, True)

0 commit comments

Comments
 (0)