mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
don't do a setLocation to 0,0 when removingObjectFromGrid
This commit is contained in:
parent
f33c4e88de
commit
7b4b700765
@ -137,8 +137,9 @@ class DistributedCartesianGrid(DistributedNode.DistributedNode,
|
|||||||
|
|
||||||
def removeObjectFromGrid(self, av):
|
def removeObjectFromGrid(self, av):
|
||||||
# TODO: WHAT LOCATION SHOULD WE SET THIS TO?
|
# TODO: WHAT LOCATION SHOULD WE SET THIS TO?
|
||||||
av.reparentTo(hidden)
|
#av.reparentTo(hidden)
|
||||||
av.b_setLocation(0,0)
|
av.detachNode()
|
||||||
|
#av.b_setLocation(0,0)
|
||||||
|
|
||||||
|
|
||||||
def handleAvatarZoneChange(self, av, zoneId):
|
def handleAvatarZoneChange(self, av, zoneId):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user