merge zoom changes
This commit is contained in:
parent
0883f50f25
commit
67f565e81b
|
@ -335,9 +335,12 @@ class Camera:
|
|||
tilt = max(tilt, delta['elevation'])
|
||||
changed = True
|
||||
'''
|
||||
if delta and 'absoluteZoom' in delta and 'absoluteZoom' in direction:
|
||||
if zoom and (not delta['absoluteZoom'] or (delta['absoluteZoom'] >= 0) != direction['absoluteZoom']):
|
||||
zoom = 0
|
||||
changed = True
|
||||
elif delta:
|
||||
print('no absoluteZoom in delta?', delta, direction)
|
||||
|
||||
if changed or not n % 500:
|
||||
print('update move', move, current)
|
||||
|
|
Loading…
Reference in New Issue
Block a user