Allow user-defined visualization geoms to be added to the passive viewer.

Fixes #1023, #1082

PiperOrigin-RevId: 572303635
Change-Id: Ia8399f816f311b38a7b137f5bd4f359f77a1da1c
This commit is contained in:
Saran Tunyasuvunakool
2023-10-10 10:51:29 -07:00
committed by Copybara-Service
parent 1bd6c94e6d
commit 2e15574b58
13 changed files with 112 additions and 56 deletions
+2 -2
View File
@@ -5476,9 +5476,9 @@ STRUCTS: Mapping[str, StructDecl] = dict([
doc='maximum number of mjvGeom supported by this state object',
),
StructFieldDecl(
name='plugincache',
name='scratch',
type=ValueType(name='mjvScene'),
doc='scratch space for vis geoms inserted by plugins',
doc='scratch space for vis geoms inserted by the user and plugins', # pylint: disable=line-too-long
),
StructFieldDecl(
name='model',