Replace name attribute with setters and getters in the C API of mjSpec.
PiperOrigin-RevId: 778816015 Change-Id: Ieffb7a5bce37e887ff009f9a02d2434435e79ca1
This commit is contained in:
committed by
Copybara-Service
parent
1c5d47c94b
commit
594e17074a
@@ -709,7 +709,7 @@ TEST_F(MujocoTest, Modeldir) {
|
||||
mjsGeom* geom = mjs_addGeom(mjs_findBody(child, "world"), 0);
|
||||
mjs_setString(child->meshdir, "meshdir");
|
||||
mjs_setString(mesh->file, "cube.obj");
|
||||
mjs_setString(mesh->name, "cube");
|
||||
mjs_setName(mesh->element, "cube");
|
||||
mjs_setString(geom->meshname, "cube");
|
||||
mjs_setFrame(geom->element, frame);
|
||||
geom->type = mjGEOM_MESH;
|
||||
|
||||
Reference in New Issue
Block a user