Add mjmMaterial and mjmFrame to C API.
PiperOrigin-RevId: 606191307 Change-Id: Iaf43f81522029002b28bba14ea046b1c968ab2e7
This commit is contained in:
committed by
Copybara-Service
parent
4b8363de6d
commit
4e5b194e88
@@ -259,7 +259,7 @@ void mjXWriter::OneMaterial(XMLElement* elem, mjCMaterial* pmat, mjCDef* def) {
|
||||
|
||||
// defaults and regular
|
||||
if (pmat->texture != def->material.texture) {
|
||||
WriteAttrTxt(elem, "texture", pmat->texture);
|
||||
WriteAttrTxt(elem, "texture", pmat->get_texture());
|
||||
}
|
||||
WriteAttrKey(elem, "texuniform", bool_map, 2, pmat->texuniform, def->material.texuniform);
|
||||
WriteAttr(elem, "texrepeat", 2, pmat->texrepeat, def->material.texrepeat);
|
||||
|
||||
Reference in New Issue
Block a user