Skip to content

Commit

Permalink
Ghost: fix #67 error upon deleting a ghost
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepSOIC committed Mar 27, 2023
1 parent def5558 commit b05758e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PartOMagic/Features/Ghost.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def addMissingProperties(self, selfobj):

def updateDeps(self, selfobj, check_only = False):
"""update PlacementLinks to match with container path"""
if selfobj.Base is None: # fixes error on ghots deletion

This comment has been minimized.

Copy link
@luzpaz

luzpaz Mar 27, 2023

Contributor

ghosts is misspelled here, @DeepSOIC

return
toleave,toenter = Containers.getContainerRelativePath(Containers.getContainer(selfobj.Base), Containers.getContainer(selfobj))
leave_deps = []
if selfobj.UseForwardPlacements:
Expand Down

0 comments on commit b05758e

Please sign in to comment.