Do not overwrite existing parent frames for worldbody elements when attaching an mjSpec to a frame or a site.
PiperOrigin-RevId: 737662046 Change-Id: I7028c21c803c01845ae1d53cb476f7b3df172313
This commit is contained in:
committed by
Copybara-Service
parent
da04688071
commit
1bf24e9f67
@@ -9896,6 +9896,22 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
),
|
||||
doc='Get parent body.',
|
||||
)),
|
||||
('mjs_getFrame',
|
||||
FunctionDecl(
|
||||
name='mjs_getFrame',
|
||||
return_type=PointerType(
|
||||
inner_type=ValueType(name='mjsFrame'),
|
||||
),
|
||||
parameters=(
|
||||
FunctionParameterDecl(
|
||||
name='element',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='mjsElement'),
|
||||
),
|
||||
),
|
||||
),
|
||||
doc='Get parent frame.',
|
||||
)),
|
||||
('mjs_findFrame',
|
||||
FunctionDecl(
|
||||
name='mjs_findFrame',
|
||||
|
||||
Reference in New Issue
Block a user