From 71df82dad3e6ae9cd73f8339497b9570df56708b Mon Sep 17 00:00:00 2001 From: edi271 Date: Mon, 15 Jan 2024 13:50:39 +0100 Subject: [PATCH] [TD] Solve issue in VertexAtIntersection --- src/Mod/TechDraw/Gui/CommandExtensionPack.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Mod/TechDraw/Gui/CommandExtensionPack.cpp b/src/Mod/TechDraw/Gui/CommandExtensionPack.cpp index 10af1a1998..8da7f5120c 100644 --- a/src/Mod/TechDraw/Gui/CommandExtensionPack.cpp +++ b/src/Mod/TechDraw/Gui/CommandExtensionPack.cpp @@ -849,14 +849,13 @@ void CmdTechDrawExtensionVertexAtIntersection::activated(int iMsg) // std::string ptId = objFeat->addCosmeticVertex(pt/scale); // objFeat->add1CVToGV(ptId); // invert the point so the math works correctly - Base::Vector3d temp = DrawUtil::invertY(pt); - temp = CosmeticVertex::makeCanonicalPoint(objFeat, temp); + Base::Vector3d temp = CosmeticVertex::makeCanonicalPoint(objFeat, pt); objFeat->addCosmeticVertex(temp); } } } getSelection().clearSelection(); - objFeat->refreshCEGeoms(); + objFeat->refreshCVGeoms(); objFeat->requestPaint(); Gui::Command::commitCommand(); }