コード例 #1
0
 def disable(self):
     DistributedInteractive.disable(self)
     if self.invReq:
         DistributedInventoryBase.cancelGetInventory(localAvatar.getInventoryId())
         self.invReq = None
     
     self.removeChildren()
コード例 #2
0
 def disable(self):
     DistributedInteractive.disable(self)
     self.getParentObj().builder.removeSectionObj(self.container,
                                                  self.visZone)
     if self.container:
         self.container.removeNode()
         self.container = None
コード例 #3
0
 def disable(self):
     DistributedInteractive.disable(self)
     if self.invReq:
         DistributedInventoryBase.cancelGetInventory(localAvatar.getInventoryId())
         self.invReq = None
     
     self.removeChildren()
    def disable(self):
        self._statePushes.destroy()
        self._statePushes = None
        if self.userId == localAvatar.doId:
            self.stopRepairing()

        DistributedInteractive.disable(self)
        self.detachNode()
 def disable(self):
     self._statePushes.destroy()
     self._statePushes = None
     if self.userId == localAvatar.doId:
         self.stopRepairing()
     
     DistributedInteractive.disable(self)
     self.detachNode()
コード例 #6
0
 def disable(self):
     DistributedInteractive.disable(self)
     if self.invReq:
         DistributedInventoryBase.cancelGetInventory(
             localAvatar.getInventoryId())
         self.invReq = None
     self.get_children().detach()
     return
コード例 #7
0
 def disable(self):
     DistributedInteractive.disable(self)
     if self.chest:
         self.chest.removeNode()
         self.chest = None
     if self.showTreasureIval:
         self.showTreasureIval.pause()
         self.showTreasureIval = None
     if self.raiseTreasureIval:
         self.raiseTreasureIval.pause()
         self.raiseTreasureIval = None
     if self.spot:
         self.spot.removeNode()
         self.spot = None
     if self.spotRoot:
         self.spotRoot.removeNode()
         self.spotRoot = None
     self.getParentObj().builder.removeSectionObj(self, self.visZone)
     return
コード例 #8
0
 def disable(self):
     DistributedInteractive.disable(self)
     if self.chest:
         self.chest.removeNode()
         self.chest = None
     
     if self.showTreasureIval:
         self.showTreasureIval.pause()
         self.showTreasureIval = None
     
     if self.raiseTreasureIval:
         self.raiseTreasureIval.pause()
         self.raiseTreasureIval = None
     
     if self.spot:
         self.spot.removeNode()
         self.spot = None
     
     if self.spotRoot:
         self.spotRoot.removeNode()
         self.spotRoot = None
     
     self.getParentObj().builder.removeSectionObj(self, self.visZone)
コード例 #9
0
    def disable(self):
        DistributedInteractive.disable(self)
        if self.effect:
            self.effect.cleanUpEffect()

        self.detachNode()
コード例 #10
0
 def disable(self):
     if self.userId == localAvatar.doId:
         self.stopRepairing()
     
     DistributedInteractive.disable(self)
     self.detachNode()
コード例 #11
0
 def disable(self):
     DistributedInteractive.disable(self)
     self.getParentObj().builder.removeSectionObj(self.container, self.visZone)
     if self.container:
         self.container.removeNode()
         self.container = None