[TD]fix extent dimension

This commit is contained in:
wandererfan
2022-09-08 20:12:29 -04:00
committed by WandererFan
parent c910ff6509
commit 9e60f1bbef
10 changed files with 93 additions and 181 deletions

View File

@@ -1196,11 +1196,7 @@ void execHExtent(Gui::Command* cmd)
std::vector<Gui::SelectionObject>::iterator itSel = selection.begin();
for (; itSel != selection.end(); itSel++) {
if ((*itSel).getObject()->isDerivedFrom(TechDraw::DrawViewPart::getClassTypeId())) {
// baseFeat = static_cast<TechDraw::DrawViewPart*> ((*itSel).getObject());
SubNames = (*itSel).getSubNames();
if (SubNames.empty() || SubNames[0].empty()) {
SubNames.clear();
}
}
}