Toponaming/Part: Bug fix for #13169 while we sort this out

This commit is contained in:
bgbsww
2024-03-27 21:38:58 -04:00
committed by Chris Hennes
parent f530f1a5c8
commit 51a311e6fb

View File

@@ -9524,6 +9524,11 @@ void SketchObject::setExpression(const App::ObjectIdentifier& path,
std::pair<std::string,std::string> 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<std::string, std::string> ret;
if(!name) return ret;