Make island discovery compatible with flex

PiperOrigin-RevId: 777490642
Change-Id: Iae2f4e8297cc24bded833e04ebfe32895f3a5460
This commit is contained in:
Yuval Tassa
2025-06-30 03:15:27 -07:00
committed by Copybara-Service
parent c945247e7c
commit 57b3d6d0f4
4 changed files with 58 additions and 51 deletions
+1 -3
View File
@@ -173,9 +173,7 @@ void mj_fwdPosition(const mjModel* m, mjData* d) {
TM_RESTART;
mj_makeConstraint(m, d);
if (mjENABLED(mjENBL_ISLAND)) {
mj_island(m, d);
}
mj_island(m, d);
TM_END(mjTIMER_POS_MAKE);
TM_RESTART;