From 51a311e6fbe9902a4f93f243cfb5482e5922183e Mon Sep 17 00:00:00 2001 From: bgbsww Date: Wed, 27 Mar 2024 21:38:58 -0400 Subject: [PATCH] Toponaming/Part: Bug fix for #13169 while we sort this out --- src/Mod/Sketcher/App/SketchObject.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Mod/Sketcher/App/SketchObject.cpp b/src/Mod/Sketcher/App/SketchObject.cpp index 5a7931e05d..867f0eb947 100644 --- a/src/Mod/Sketcher/App/SketchObject.cpp +++ b/src/Mod/Sketcher/App/SketchObject.cpp @@ -9524,6 +9524,11 @@ void SketchObject::setExpression(const App::ObjectIdentifier& path, std::pair SketchObject::getElementName( const char *name, ElementNameType type) const { + // Todo: Toponaming Project March 2024: This method override breaks the sketcher - selection and deletion + // of constraints ceases to work. See #13169. We need to prove that this works before + // enabling it. For now, bypass it. + return Part2DObject::getElementName(name,type); + std::pair ret; if(!name) return ret;