diff --git a/src/Mod/PartDesign/Gui/ViewProviderLoft.cpp b/src/Mod/PartDesign/Gui/ViewProviderLoft.cpp index 371e09b360..85bb8fd335 100644 --- a/src/Mod/PartDesign/Gui/ViewProviderLoft.cpp +++ b/src/Mod/PartDesign/Gui/ViewProviderLoft.cpp @@ -125,8 +125,12 @@ void ViewProviderLoft::highlightSection(bool on) PartDesign::Loft* pcLoft = static_cast(getObject()); auto sections = pcLoft->Sections.getSubListValues(); for (auto it : sections) { - if (it.second.size() == 1 && it.second[0].empty()) + // only take the entire shape when we have a sketch selected, but + // not a point of the sketch + auto subName = it.second.empty() ? "" : it.second.front(); + if (it.first->isDerivedFrom(Part::Part2DObject::getClassTypeId()) && subName.compare(0, 6, "Vertex") != 0) { it.second.clear(); + } highlightReferences(dynamic_cast(it.first), it.second, on); } }