Refactor all element name pairs into clearer struct names - renames

This commit is contained in:
bgbsww
2024-07-19 16:23:27 -04:00
parent d4d40efbc5
commit 19e450a667
27 changed files with 268 additions and 267 deletions

View File

@@ -3356,7 +3356,7 @@ void View3DInventorViewer::alignToSelection()
// Get the geo feature
App::GeoFeature* geoFeature = nullptr;
std::pair<std::string, std::string> elementName;
App::ElementNamePair elementName;
App::GeoFeature::resolveElement(selection[0].pObject, selection[0].SubName, elementName, false, App::GeoFeature::ElementNameType::Normal, nullptr, nullptr, &geoFeature);
if (!geoFeature) {
return;