Replace meshid and hfieldid with mjCMesh and mjCHField pointers in mjCGeom.
PiperOrigin-RevId: 597279837 Change-Id: I45ca00c70c13cd5bddb3385a0c60388fb166527c
This commit is contained in:
committed by
Copybara-Service
parent
42515033a7
commit
889353dfa8
@@ -1525,8 +1525,8 @@ void mjXReader::OneGeom(XMLElement* elem, mjCGeom* pgeom) {
|
||||
ReadAttr(elem, "solimp", mjNIMP, pgeom->solimp, text, false, false);
|
||||
ReadAttr(elem, "margin", 1, &pgeom->margin, text);
|
||||
ReadAttr(elem, "gap", 1, &pgeom->gap, text);
|
||||
ReadAttrTxt(elem, "hfield", pgeom->hfield);
|
||||
ReadAttrTxt(elem, "mesh", pgeom->mesh);
|
||||
ReadAttrTxt(elem, "hfield", pgeom->hfieldname);
|
||||
ReadAttrTxt(elem, "mesh", pgeom->meshname);
|
||||
ReadAttr(elem, "fitscale", 1, &pgeom->fitscale, text);
|
||||
ReadAttrTxt(elem, "material", pgeom->material);
|
||||
ReadAttr(elem, "rgba", 4, pgeom->rgba, text);
|
||||
|
||||
Reference in New Issue
Block a user