Skip to content

Commit fe67462

Browse files
authored
Merge pull request #45 from vpython/Fix_bug_in_update_of_scene.forward
Fix bug in update of scene.forward
2 parents 11600e0 + 96fe444 commit fe67462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpython/vpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3205,7 +3205,7 @@ def handle_event(self, evt): ## events and scene info updates
32053205
else: ## user can change forward (spin), range/autoscale (zoom), up (touch), center (pan)
32063206
if 'forward' in evt and self.userspin and not self._set_forward:
32073207
fwd = evt['forward']
3208-
self._forward = list_to_vec(fwd)
3208+
self._axis = list_to_vec(fwd) # the fundamental meaning of scene.forward is scene.axis
32093209
self._set_forward = False
32103210
if 'up' in evt and self.userspin and not self._set_up:
32113211
cup = evt['up']

0 commit comments

Comments
 (0)