mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Revert "Fix a stupid Lerp crash for posCamera"
This reverts commit 0616cc4004
.
This commit is contained in:
parent
0616cc4004
commit
227595fc64
1 changed files with 1 additions and 2 deletions
|
@ -612,8 +612,7 @@ class LocalAvatar(DistributedAvatar.DistributedAvatar, DistributedSmoothNode.Dis
|
|||
camera.setPos(savePos)
|
||||
camera.setHpr(saveHpr)
|
||||
taskMgr.remove('posCamera')
|
||||
self.cameraLerp = LerpPosHprInterval(camera, time, Point3(x, y, z), Point3(h, p, r), other=self, name='posCamera')
|
||||
self.cameraLerp.start()
|
||||
camera.lerpPosHpr(x, y, z, h, p, r, time, task='posCamera')
|
||||
|
||||
def getClampedAvatarHeight(self):
|
||||
return max(self.getHeight(), 3.0)
|
||||
|
|
Loading…
Reference in a new issue