Link: change sub-element linking mechanism
Previous multi-sub-element linking (e.g. Face, Edge) is supported through SubElements of type PropertyStringList, which does not support geometry element update tracking. This patch changes it to use PropertyXLink's new multi-subname capability.
This commit is contained in:
@@ -222,9 +222,9 @@ public:
|
||||
bool canDropObjects() const override;
|
||||
bool canDragAndDropObject(App::DocumentObject*) const override;
|
||||
bool canDropObjectEx(App::DocumentObject *obj, App::DocumentObject *owner,
|
||||
const char *subname, const std::vector<std::string> &elements) const override;
|
||||
const char *subname, const std::vector<std::string> &subElements) const override;
|
||||
std::string dropObjectEx(App::DocumentObject*, App::DocumentObject*,
|
||||
const char *subname, const std::vector<std::string> &elements) override;
|
||||
const char *subname, const std::vector<std::string> &subElements) override;
|
||||
|
||||
bool onDelete(const std::vector<std::string> &) override;
|
||||
bool canDelete(App::DocumentObject* obj) const override;
|
||||
|
||||
Reference in New Issue
Block a user