Rename "facetexcoord" to "elemtexcoord" in mjsFlex element for consistency.
PiperOrigin-RevId: 734153759 Change-Id: Ic17d7c8a6e53fba04da511d405c815a723c5e55b
This commit is contained in:
committed by
Copybara-Service
parent
37d6d7792a
commit
e04e0e5c3d
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user