mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 04:02:40 -06:00
Add back Zach's fixes
This commit is contained in:
parent
913f29b745
commit
85b8923d35
1 changed files with 7 additions and 2 deletions
|
@ -258,6 +258,10 @@ class DistributedPartyActivity(DistributedObject.DistributedObject):
|
|||
self.signFlatWithNote.stash()
|
||||
self.signTextLocator.stash()
|
||||
|
||||
def unloadSign(self):
|
||||
self.sign.removeNode()
|
||||
del self.sign
|
||||
|
||||
def loadLever(self):
|
||||
self.lever = self.root.attachNewNode('%sLever' % self.activityName)
|
||||
self.leverModel = self.party.defaultLeverModel.copyTo(self.lever)
|
||||
|
@ -409,6 +413,7 @@ class DistributedPartyActivity(DistributedObject.DistributedObject):
|
|||
self._disableCollisions()
|
||||
self.signModel.removeNode()
|
||||
del self.signModel
|
||||
if hasattr(self, 'sign'):
|
||||
self.sign.removeNode()
|
||||
del self.sign
|
||||
self.ignoreAll()
|
||||
|
|
Loading…
Reference in a new issue