[Python Viewer] Allow users to override rendering flags via user_scn.

Fixes #1190

PiperOrigin-RevId: 603672602
Change-Id: I3ff1bb0dca7e913b36f1b241aaea8b8bb95cadff
This commit is contained in:
Saran Tunyasuvunakool
2024-02-02 06:38:28 -08:00
committed by Copybara-Service
parent 92c161a61b
commit 7bb0ce4211
4 changed files with 33 additions and 7 deletions
+4 -2
View File
@@ -41,12 +41,14 @@ Python bindings
- Uses :ref:`mjSTATE_FULLPHYSICS<geFullPhysics>` as state spec, enabling divergence detection by inspecting time.
- Allows user-defined control spec for any combination of :ref:`user input<geInput>` fields as controls.
- Outputs are no longer squeezed and always have dim=3.
12. The ``sync`` function for the :ref:`passive viewer<PyViewerPassive>` can now pick up changes to rendering flags in
``user_scn``, as requested in :github:issue:`1190`.
Bug fixes
^^^^^^^^^
12. Fixed a bug that prevented the use of pins with plugins if flexes are not in the worldbody. Fixes
13. Fixed a bug that prevented the use of pins with plugins if flexes are not in the worldbody. Fixes
:github:issue:`1270`.
13. Fixed a bug in the :ref:`muscle model<CMuscle>` that led to non-zero values outside the lower
14. Fixed a bug in the :ref:`muscle model<CMuscle>` that led to non-zero values outside the lower
bound of the length range. Fixes :github:issue:`1342`.