mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
adding hasOwnerViewDoId()
This commit is contained in:
parent
05fba9b3c8
commit
98548f9779
@ -193,6 +193,10 @@ class DoCollectionManager:
|
||||
return self._doHierarchy.getDoIds(self.getDo,
|
||||
parentId, zoneId, classType)
|
||||
|
||||
def hasOwnerViewDoId(self, doId):
|
||||
assert self.hasOwnerView()
|
||||
return doId in self.doId2ownerView
|
||||
|
||||
def getOwnerViewDoList(self, classType):
|
||||
assert self.hasOwnerView()
|
||||
l = []
|
||||
@ -284,6 +288,7 @@ class DoCollectionManager:
|
||||
else:
|
||||
self.notify.warning('handleSetLocation: object %s not present' % self.getMsgChannel())
|
||||
|
||||
@exceptionLogged()
|
||||
def storeObjectLocation(self, object, parentId, zoneId):
|
||||
oldParentId = object.parentId
|
||||
oldZoneId = object.zoneId
|
||||
|
Loading…
x
Reference in New Issue
Block a user