Skip to content

Commit

Permalink
Merge pull request #392 from pklampros/master
Browse files Browse the repository at this point in the history
Make sure the shape refs are used when linking/unlinking
  • Loading branch information
pklampros authored Nov 8, 2020
2 parents b943241 + b1d410f commit 1d4e867
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions depthmapX/views/glview/glview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ void GLView::mouseReleaseEvent(QMouseEvent *event)
int axRef2 = *it;
// axial is only joined one-by-one
m_pDoc.modifiedFlag = true;
m_pDoc.m_meta_graph->getDisplayedShapeGraph().linkShapes(axRef1, axRef2, true);
m_pDoc.m_meta_graph->getDisplayedShapeGraph().linkShapesFromRefs(axRef1, axRef2, true);
m_pDoc.m_meta_graph->clearSel();
}
}
Expand Down Expand Up @@ -468,7 +468,7 @@ void GLView::mouseReleaseEvent(QMouseEvent *event)
int axRef2 = *it;
// axial is only joined one-by-one
m_pDoc.modifiedFlag = true;
m_pDoc.m_meta_graph->getDisplayedShapeGraph().unlinkShapes(axRef1, axRef2, true);
m_pDoc.m_meta_graph->getDisplayedShapeGraph().unlinkShapesFromRefs(axRef1, axRef2, true);
m_pDoc.m_meta_graph->clearSel();
}
}
Expand Down

0 comments on commit 1d4e867

Please sign in to comment.