Add screenshot button to simulate.

PiperOrigin-RevId: 465628684
Change-Id: I0eb86d6b18c25bb437f197229be6d1c57ccbc50a
This commit is contained in:
Kevin Zakka
2022-08-05 12:55:44 -07:00
committed by Copybara-Service
parent 7a0e0ed80c
commit 80b4ffdd6a
4 changed files with 44 additions and 3 deletions
+2 -1
View File
@@ -19,6 +19,7 @@ General
- Added ``azimuth`` and ``elevation`` attributes to :ref:`visual/global<global>`, defining the initial orientation of
the free camera at model load time.
- Added ``mjv_defaultFreeCamera`` which sets the default free camera, respecting the above attributes.
- ``simulate`` now supports taking a screenshot via a button in the File section or via ``Ctrl-P``.
Bug fixes
^^^^^^^^^
@@ -209,7 +210,7 @@ Version 2.1.3 (Mar. 23, 2022)
General
^^^^^^^
1. ``simulate`` now support cycling through cameras (with ``[`` and ``]`` keys).
1. ``simulate`` now supports cycling through cameras (with the ``[`` and ``]`` keys).
#. ``mjVIS_STATIC`` toggles all static bodies, not just direct children of the world.
Python bindings