Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vpython/vpython.py
Original file line number Diff line number Diff line change
Expand Up @@ -3121,7 +3121,6 @@ def handle_event(self, evt): ## events and scene info updates
self.mouse.setpick( evt )
self._waitfor = True # what pick is looking for
elif ev == '_compound': # compound, text, extrusion
print('compound event return')
obj = self._compound
p = evt['pos']
if obj._objName == 'text':
Expand All @@ -3132,6 +3131,7 @@ def handle_event(self, evt): ## events and scene info updates
# Set attribute_vector.value, which avoids nullifying the
# on_change functions that detect changes in e.g. obj.pos.y
obj._pos.value = list_to_vec(p)
obj._origin = obj._pos
s = evt['size']
obj._size.value = obj._size0 = list_to_vec(s)
obj._axis.value = obj._size._x*norm(obj._axis)
Expand Down