removed it. sry. k

This commit is contained in:
Zach 2015-05-10 14:26:19 -05:00
parent dedd654453
commit 74ac72d5b3

View file

@ -1789,19 +1789,6 @@ class Toon(Avatar.Avatar, ToonHead):
self.holeClipPath = self.attachNewNode(holeClip) self.holeClipPath = self.attachNewNode(holeClip)
self.getGeomNode().setClipPlane(self.holeClipPath) self.getGeomNode().setClipPlane(self.holeClipPath)
self.nametag3d.setClipPlane(self.holeClipPath) self.nametag3d.setClipPlane(self.holeClipPath)
avHeight = max(self.getHeight(), 3)
def lerpCam(task):
degrees = task.time * 52.941
radians = degrees * (math.pi / 180.0)
x = -12 * math.sin(radians)
y = -12 * math.cos(radians)
z = base.localAvatar.getHeight()
camera.setPos(x, y, z)
camera.setH(-degrees)
if task.time > 3.4:
return Task.done
return Task.cont
taskMgr.add(lerpCam, 'lerpCam')
self.track.start(ts) self.track.start(ts)
self.setActiveShadow(0) self.setActiveShadow(0)