PD: PR6497 move return statement to new line

This commit is contained in:
Chris Hennes
2022-03-29 12:37:21 -05:00
parent 2ecc125497
commit 65aa374083
9 changed files with 64 additions and 31 deletions

View File

@@ -86,10 +86,12 @@ void ViewProviderDressUp::highlightReferences(const bool on)
{
PartDesign::DressUp* pcDressUp = static_cast<PartDesign::DressUp*>(getObject());
Part::Feature* base = pcDressUp->getBaseObject (/*silent =*/ true);
if (base == nullptr) return;
if (base == nullptr)
return;
PartGui::ViewProviderPart* vp = dynamic_cast<PartGui::ViewProviderPart*>(
Gui::Application::Instance->getViewProvider(base));
if (vp == nullptr) return;
if (vp == nullptr)
return;
std::vector<std::string> faces = pcDressUp->Base.getSubValuesStartsWith("Face");
std::vector<std::string> edges = pcDressUp->Base.getSubValuesStartsWith("Edge");