[PartDesign] Fix spelling of auxiliary and curvilinear…

…but also handle the properties name change from old files
This commit is contained in:
Syres916
2025-04-05 13:42:05 +01:00
committed by Chris Hennes
parent de13e777f4
commit fa3c6e1068
7 changed files with 68 additions and 40 deletions

View File

@@ -62,7 +62,7 @@ std::vector<App::DocumentObject*> ViewProviderPipe::claimChildren()const
if (spine && spine->isDerivedFrom<Part::Part2DObject>())
temp.push_back(spine);
App::DocumentObject* auxspine = pcPipe->AuxillerySpine.getValue();
App::DocumentObject* auxspine = pcPipe->AuxiliarySpine.getValue();
if (auxspine && auxspine->isDerivedFrom<Part::Part2DObject>())
temp.push_back(auxspine);
@@ -120,8 +120,8 @@ void ViewProviderPipe::highlightReferences(ViewProviderPipe::Reference mode, boo
pcPipe->Spine.getSubValuesStartsWith("Edge"), on);
break;
case AuxiliarySpine:
highlightReferences(dynamic_cast<Part::Feature*>(pcPipe->AuxillerySpine.getValue()),
pcPipe->AuxillerySpine.getSubValuesStartsWith("Edge"), on);
highlightReferences(dynamic_cast<Part::Feature*>(pcPipe->AuxiliarySpine.getValue()),
pcPipe->AuxiliarySpine.getSubValuesStartsWith("Edge"), on);
break;
case Profile:
highlightReferences(dynamic_cast<Part::Feature*>(pcPipe->Profile.getValue()),