nodes can now be connected through the node editor

This commit is contained in:
itsmattkc
2019-04-13 02:40:58 +10:00
parent 6b67727bd8
commit 8cd96eae64
24 changed files with 480 additions and 85 deletions
+1 -1
View File
@@ -42,9 +42,9 @@ void NodeView::mouseMoveEvent(QMouseEvent *event)
void NodeView::mouseReleaseEvent(QMouseEvent *event)
{
if (!hand_moving_) {
hand_moving_ = false;
QGraphicsView::mouseReleaseEvent(event);
}
hand_moving_ = false;
}
void NodeView::wheelEvent(QWheelEvent *event)