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