Add elasticity plugins to xml_native_writer_test. Fixes #961.
PiperOrigin-RevId: 545454207 Change-Id: I4e93499eaa53e5bc8c8afa682986657cef3ac20f
This commit is contained in:
committed by
Copybara-Service
parent
2b38148d24
commit
46e06c4cac
@@ -1390,7 +1390,7 @@ void mjXWriter::Body(XMLElement* elem, mjCBody* body) {
|
||||
|
||||
// write plugin
|
||||
if (body->is_plugin) {
|
||||
OnePlugin(elem, body);
|
||||
OnePlugin(InsertEnd(elem, "plugin"), body);
|
||||
}
|
||||
|
||||
// write child bodies recursively
|
||||
|
||||
Reference in New Issue
Block a user