Skip to content

Commit 96631a5

Browse files
committed
minor update to markers_demo.py
1 parent 05e9864 commit 96631a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/markers_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# create the viewer object
2929
viewer = mujoco_viewer.MujocoViewer(model, data)
3030

31-
for _ in range(10000):
31+
while viewer.is_alive:
3232
# sim step
3333
mujoco.mj_step(model, data)
3434

0 commit comments

Comments
 (0)