Skip to content

Commit

Permalink
Merge pull request #4286 from kbickar/master
Browse files Browse the repository at this point in the history
[Path] Fix AttributeError on deleting corrupt dressup
  • Loading branch information
sliptonic committed Jan 27, 2021
2 parents 1596f15 + ab8a4a6 commit 9f5acaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Path/PathScripts/PathDressupTagGui.py
Expand Up @@ -419,7 +419,7 @@ def onDelete(self, arg1=None, arg2=None):
'''this makes sure that the base operation is added back to the job and visible'''
# pylint: disable=unused-argument
PathLog.track()
if self.obj.Base.ViewObject:
if self.obj.Base and self.obj.Base.ViewObject:
self.obj.Base.ViewObject.Visibility = True
job = PathUtils.findParentJob(self.obj)
if arg1.Object and arg1.Object.Base and job:
Expand Down

0 comments on commit 9f5acaa

Please sign in to comment.