Merge pull request #4286 from kbickar/master

[Path] Fix AttributeError on deleting corrupt dressup
This commit is contained in:
sliptonic
2021-01-27 11:04:40 -06:00
committed by GitHub

View File

@@ -419,7 +419,7 @@ class PathDressupTagViewProvider:
'''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: