Skip to content
Browse files

The camera zoom was set to a wrong value due to previous special effe…

…cts experiments
  • Loading branch information...
1 parent 6eb2c2d commit 3773385a9b40461a8c664865a5bdf1911dece66c Jean-Andr� Santoni committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 client/CameraHandler.py
View
6 client/CameraHandler.py
@@ -40,12 +40,12 @@ def __init__(self):
self.windowEvent(base.win)
def toggleZoom(self):
- if self.phase != 'gui' and round(self.container.getScale()[0]*10) in (10, 100):
+ if self.phase != 'gui' and round(self.container.getScale()[0]*10) in (10, 14):
self.toggle_r_snd.play()
if self.zoomed:
- i = LerpScaleInterval(self.container, 0.25, 10.0, 1.0)
+ i = LerpScaleInterval(self.container, 0.25, 1.4, 1.0)
else:
- i = LerpScaleInterval(self.container, 0.25, 1.0, 10.0)
+ i = LerpScaleInterval(self.container, 0.25, 1.0, 1.4)
s = Sequence(i)
s.start()
self.zoomed = not self.zoomed

0 comments on commit 3773385

Please sign in to comment.
Something went wrong with that request. Please try again.