Gui: [skip ci] add method to Python binding of ViewProviderExtension to ignore overlay icon

This commit is contained in:
wmayer
2020-11-22 11:20:54 +01:00
parent d0e5a281c6
commit 5a9da45e08
6 changed files with 135 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ class ViewProviderTube:
''' Set this object to the proxy object of the actual view provider '''
obj.Proxy = self
obj.addExtension("PartGui::ViewProviderAttachExtensionPython", self)
obj.setIgnoreOverlayIcon(True, "PartGui::ViewProviderAttachExtensionPython")
def attach(self, obj):
''' Setup the scene sub-graph of the view provider, this method is mandatory '''