Skip to content

Commit

Permalink
[python/viewer] Fix multi-robot viewer not refreshed. (#766)
Browse files Browse the repository at this point in the history
Co-authored-by: Amandine <amandine.chupin@wandercraft.health>
  • Loading branch information
20chupin and Amandine authored Apr 18, 2024
1 parent 1ae3937 commit 7bc3a24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/jiminy_py/src/jiminy_py/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,8 @@ def render(self,
Viewer.open_gui()

# Try refreshing the viewer
self.viewer.refresh()
for viewer in self._viewers:
viewer.refresh()

# Compute and return rgb array if needed
if return_rgb_array:
Expand Down

0 comments on commit 7bc3a24

Please sign in to comment.