From 06fb53cede1891241c24df5e67bb17d470f0a55b Mon Sep 17 00:00:00 2001 From: Adeel Asghar Date: Tue, 28 Nov 2023 13:39:14 +0100 Subject: [PATCH] Do not push intermediate commands to stack --- OMEdit/OMEditLIB/Annotations/LineAnnotation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OMEdit/OMEditLIB/Annotations/LineAnnotation.cpp b/OMEdit/OMEditLIB/Annotations/LineAnnotation.cpp index 12e5d6a769d..6c201de1dd0 100644 --- a/OMEdit/OMEditLIB/Annotations/LineAnnotation.cpp +++ b/OMEdit/OMEditLIB/Annotations/LineAnnotation.cpp @@ -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;