Skip to content

Commit 1bee111

Browse files
DeepMindcopybara-github
authored andcommitted
Removed key for visualizing the mesh tree.
PiperOrigin-RevId: 533126358 Change-Id: Ic63957427bfe37422e4262fe3551d4a25e92ceae
1 parent 6137223 commit 1bee111

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dm_control/viewer/viewer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
_NEXT_LABELING_MODE = user_input.KEY_F7
6464
_PRINT_CAMERA = user_input.KEY_F11
6565
_VISUALIZATION_FLAGS = user_input.Range([
66-
ord(functions.mjVISSTRING[i][2])
66+
ord(functions.mjVISSTRING[i][2]) if functions.mjVISSTRING[i][2] else 0
6767
for i in range(0, mujoco.mjtVisFlag.mjNVISFLAG)
6868
])
6969
_GEOM_GROUPS = user_input.Range(

0 commit comments

Comments
 (0)