Add realtime parameter to visual global.
PiperOrigin-RevId: 478775714 Change-Id: Ic2d178a5c57d298d005215219ce8470392c4651b
This commit is contained in:
committed by
Copybara-Service
parent
f85cfb8ed2
commit
bc1490b7a8
@@ -868,6 +868,7 @@ void mjXWriter::Visual(XMLElement* root) {
|
||||
WriteAttr(elem, "elevation", 1, &vis->global.elevation, &visdef.global.elevation);
|
||||
WriteAttr(elem, "linewidth", 1, &vis->global.linewidth, &visdef.global.linewidth);
|
||||
WriteAttr(elem, "glow", 1, &vis->global.glow, &visdef.global.glow);
|
||||
WriteAttr(elem, "realtime", 1, &vis->global.realtime, &visdef.global.realtime);
|
||||
WriteAttrInt(elem, "offwidth", vis->global.offwidth, visdef.global.offwidth);
|
||||
WriteAttrInt(elem, "offheight", vis->global.offheight, visdef.global.offheight);
|
||||
if (!elem->FirstAttribute()) {
|
||||
|
||||
Reference in New Issue
Block a user