From d48aa2e75b96764e88c4bed11ee1d529cc13e002 Mon Sep 17 00:00:00 2001 From: ageeye <5332429+ageeye@users.noreply.github.com> Date: Sun, 10 Jun 2018 17:37:43 +0200 Subject: [PATCH] Add sew function to the draft facebinder. Besides facebinder and patharray get their own icons in the tree view. --- src/Mod/Draft/Draft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Draft/Draft.py b/src/Mod/Draft/Draft.py index ee633cd7af..57a6ca6273 100644 --- a/src/Mod/Draft/Draft.py +++ b/src/Mod/Draft/Draft.py @@ -6241,7 +6241,7 @@ class _ViewProviderDraftArray(_ViewProviderDraft): _ViewProviderDraft.__init__(self,vobj) def getIcon(self): - if hasattr(self.vobj.Object,"ArrayType"): + if hasattr(self.Object,"ArrayType"): return ":/icons/Draft_Array.svg" return ":/icons/Draft_PathArray.svg"