mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
added resetInterestStateForConnectionLoss
This commit is contained in:
parent
049c7e035e
commit
2c481b3f26
@ -123,6 +123,14 @@ class DoInterestManager(DirectObject.DirectObject):
|
||||
def getAllInterestsCompleteEvent(self):
|
||||
return 'allInterestsComplete-%s' % DoInterestManager._SerialNum
|
||||
|
||||
def resetInterestStateForConnectionLoss(self):
|
||||
DoInterestManager._interests.clear()
|
||||
self._outstandingScopes = set()
|
||||
self._completeEventCount = ScratchPad(num=0)
|
||||
self._addDebugInterestHistory(
|
||||
"STATE RESET", "", 0, 0,
|
||||
0, [])
|
||||
|
||||
def addInterest(self, parentId, zoneIdList, description, event=None, auto=False):
|
||||
"""
|
||||
Look into a (set of) zone(s).
|
||||
|
Loading…
x
Reference in New Issue
Block a user