Rename "facetexcoord" to "elemtexcoord" in mjsFlex element for consistency.

PiperOrigin-RevId: 734153759
Change-Id: Ic17d7c8a6e53fba04da511d405c815a723c5e55b
This commit is contained in:
Alessio Quaglino
2025-03-06 08:27:26 -08:00
committed by Copybara-Service
parent 37d6d7792a
commit e04e0e5c3d
12 changed files with 30 additions and 30 deletions
+3 -3
View File
@@ -158,9 +158,9 @@ void mjXWriter::OneFlex(XMLElement* elem, const mjCFlex* flex) {
text = VectorToString(flex->get_texcoord());
WriteAttrTxt(elem, "texcoord", text);
}
if (!flex->get_facetexcoord().empty()) {
text = VectorToString(flex->get_facetexcoord());
WriteAttrTxt(elem, "facetexcoord", text);
if (!flex->get_elemtexcoord().empty()) {
text = VectorToString(flex->get_elemtexcoord());
WriteAttrTxt(elem, "elemtexcoord", text);
}
if (!flex->get_nodebody().empty()) {
text = VectorToString(flex->get_nodebody());