[PD] handle changed property for loft and pipe
- this was missing in PR #5155
This commit is contained in:
@@ -518,8 +518,6 @@ void Pipe::buildPipePath(const Part::TopoShape& shape, const std::vector< std::s
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
PROPERTY_SOURCE(PartDesign::AdditivePipe, PartDesign::Pipe)
|
||||
AdditivePipe::AdditivePipe() {
|
||||
addSubType = Additive;
|
||||
@@ -529,3 +527,14 @@ PROPERTY_SOURCE(PartDesign::SubtractivePipe, PartDesign::Pipe)
|
||||
SubtractivePipe::SubtractivePipe() {
|
||||
addSubType = Subtractive;
|
||||
}
|
||||
|
||||
void Pipe::handleChangedPropertyType(Base::XMLReader& reader, const char* TypeName, App::Property* prop)
|
||||
{
|
||||
// property Sections had the App::PropertyLinkList and was changed to App::PropertyXLinkSubList
|
||||
if (prop == &Sections && strcmp(TypeName, "App::PropertyLinkList") == 0) {
|
||||
Sections.upgrade(reader, TypeName);
|
||||
}
|
||||
else {
|
||||
ProfileBased::handleChangedPropertyType(reader, TypeName, prop);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user