remove old panda tests
This commit is contained in:
parent
af28dcf35f
commit
b1beff0d5c
|
|
@ -160,9 +160,7 @@ class ConnectionRepository(DirectObject.DirectObject):
|
|||
|
||||
url = serverList[serverIndex]
|
||||
self.notify.info("Connecting to %s via HTTP interface." % (url.cStr()))
|
||||
# Temporary test for old pandas.
|
||||
if hasattr(ch, "preserveStatus"):
|
||||
ch.preserveStatus()
|
||||
ch.preserveStatus()
|
||||
|
||||
ch.beginConnectTo(DocumentSpec(url))
|
||||
ch.spawnTask(name = 'connect-to-server',
|
||||
|
|
|
|||
|
|
@ -595,8 +595,7 @@ class PhysicsWalker(DirectObject.DirectObject):
|
|||
rotation = dt * self.__rotationSpeed
|
||||
|
||||
#debugTempH=self.avatarNodePath.getH()
|
||||
# temporary hasattr for old Pandas
|
||||
assert not hasattr(Quat, "isSameDirection") or self.avatarNodePath.getQuat().isSameDirection(physObject.getOrientation())
|
||||
assert self.avatarNodePath.getQuat().isSameDirection(physObject.getOrientation())
|
||||
assert self.avatarNodePath.getPos().almostEqual(physObject.getPosition(), 0.0001)
|
||||
|
||||
# update pos:
|
||||
|
|
@ -621,8 +620,7 @@ class PhysicsWalker(DirectObject.DirectObject):
|
|||
# sync the change:
|
||||
self.actorNode.updateTransform()
|
||||
|
||||
# temporary hasattr for old Pandas
|
||||
assert not hasattr(Quat, "isSameDirection") or self.avatarNodePath.getQuat().isSameDirection(physObject.getOrientation())
|
||||
assert self.avatarNodePath.getQuat().isSameDirection(physObject.getOrientation())
|
||||
assert self.avatarNodePath.getPos().almostEqual(physObject.getPosition(), 0.0001)
|
||||
#assert self.avatarNodePath.getH()==debugTempH-rotation
|
||||
messenger.send("avatarMoving")
|
||||
|
|
|
|||
Loading…
Reference in New Issue