Remove ExtensionProxy and rely on default Python proxy for extensions. fixes #0004534

This commit is contained in:
Stefan Tröger
2021-01-17 10:45:50 +01:00
committed by wwmayer
parent 37952a5949
commit 446ce21517
13 changed files with 32 additions and 54 deletions

View File

@@ -79,7 +79,7 @@ class DraftLink(DraftObject):
def attach(self, obj):
"""Set up the properties when the object is attached."""
if self.use_link:
obj.addExtension('App::LinkExtensionPython', None)
obj.addExtension('App::LinkExtensionPython')
self.linkSetup(obj)
def canLinkProperties(self, _obj):