Merge pull request #4286 from kbickar/master
[Path] Fix AttributeError on deleting corrupt dressup
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user