Skip to content

Commit

Permalink
Do not push intermediate commands to stack
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Nov 28, 2023
1 parent bcdf13c commit 06fb53c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditLIB/Annotations/LineAnnotation.cpp
Expand Up @@ -1206,7 +1206,7 @@ void LineAnnotation::updateEndPoint(QPointF point)
prepareGeometryChange();
if (mLineType == LineAnnotation::ConnectionType || mLineType == LineAnnotation::TransitionType) {
if (!mpGraphicsView->isCreatingConnection() && !mpGraphicsView->isCreatingTransition()) {
manhattanizeShape();
manhattanizeShape(false);
removeRedundantPointsGeometriesAndCornerItems();
}
int lastIndex = mPoints.size() - 1;
Expand Down

0 comments on commit 06fb53c

Please sign in to comment.