mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
*** empty log message ***
This commit is contained in:
parent
8acc30a68c
commit
44a9385936
@ -180,6 +180,12 @@ class ClientRepository(DirectObject.DirectObject):
|
|||||||
def handleDisable(self, di):
|
def handleDisable(self, di):
|
||||||
# Get the DO Id
|
# Get the DO Id
|
||||||
doId = di.getArg(STUint32)
|
doId = di.getArg(STUint32)
|
||||||
|
# disable it.
|
||||||
|
self.disableDoId(doId)
|
||||||
|
|
||||||
|
return None
|
||||||
|
|
||||||
|
def disableDoId(self, doId):
|
||||||
# Make sure the object exists
|
# Make sure the object exists
|
||||||
if self.doId2do.has_key(doId):
|
if self.doId2do.has_key(doId):
|
||||||
# Look up the object
|
# Look up the object
|
||||||
|
Loading…
x
Reference in New Issue
Block a user