[PartDesign] Fix spelling of auxiliary and curvilinear…
…but also handle the properties name change from old files
This commit is contained in:
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user