App: fix PropertyXLinkList/SubList::getValues()
This commit is contained in:
@@ -4303,6 +4303,13 @@ void PropertyXLinkSubList::aboutToSetChildValue(Property &) {
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<App::DocumentObject*> PropertyXLinkSubList::getValues(void) const
|
||||
{
|
||||
std::vector<DocumentObject*> xLinks;
|
||||
getLinks(xLinks);
|
||||
return(xLinks);
|
||||
}
|
||||
|
||||
//**************************************************************************
|
||||
// PropertyXLinkList
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
@@ -4354,14 +4361,6 @@ void PropertyXLinkList::setPyObject(PyObject *value)
|
||||
PropertyXLinkSubList::setPyObject(value);
|
||||
}
|
||||
|
||||
//for consistency with PropertyLinkList
|
||||
const std::vector<App::DocumentObject*> PropertyXLinkList::getValues(void) const
|
||||
{
|
||||
std::vector<DocumentObject*> xLinks;
|
||||
getLinks(xLinks);
|
||||
return(xLinks);
|
||||
}
|
||||
|
||||
//**************************************************************************
|
||||
// PropertyXLinkContainer
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
Reference in New Issue
Block a user