meshcat-dev / meshcat

Remotely-controllable 3D viewer, built on top of three.js
MIT License
256 stars 48 forks source link

Fix setting background visibility vis set_property #149

Closed SeanCurtis-TRI closed 1 year ago

SeanCurtis-TRI commented 1 year ago

Introducing the environment map had introduced a bug in background visibility. Toggling the "Background" *folder (the GUI element) successfully toggled background visibility. But calling set_property() on it, didn't work.

This changes how the folder is defined so that it is still valid to call set_property("\Background", "visible", bool).

SeanCurtis-TRI commented 1 year ago

This fixes a bug introduced in #148.