Skip to content

Commit

Permalink
Fix timer callback on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinEnjalbert committed Jun 25, 2024
1 parent 19be8bf commit da9d901
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/remote/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def __init__(self, socket_port: int, store_data: bool = False, *args, **kwargs):
self.bg_id = 0

# Timer callback
self.initialize_interactor() # needed for windows
self.cid = self.add_callback(event_name='timer', func=self.time_step, enable_picking=True)
self.timer_id = self.timer_callback(action='create', dt=1)
self.count = 0
Expand Down

0 comments on commit da9d901

Please sign in to comment.