Allow flex sleeping
PiperOrigin-RevId: 917817500 Change-Id: Ia3bd5e52e7c2eaa3f70c81352d82c130b1d357f6
This commit is contained in:
committed by
Copybara-Service
parent
ddc4c54d16
commit
f712eed4ce
@@ -756,7 +756,7 @@ void UpdateInfoText(mj::Simulate* sim, const mjModel* m, const mjData* d,
|
||||
}
|
||||
|
||||
// add islands if enabled
|
||||
if (!mjDISABLED(mjDSBL_ISLAND) && d->nisland > 0) {
|
||||
if (!mjDISABLED(mjDSBL_ISLAND)) {
|
||||
mju::sprintf_arr(tmp, "\n%d", d->nisland);
|
||||
mju::strcat_arr(content, tmp);
|
||||
mju::strcat_arr(title, "\nIslands");
|
||||
|
||||
Reference in New Issue
Block a user