Remove references to deprecated nconmax and njmax.

PiperOrigin-RevId: 809987304
Change-Id: I4109497fe108234dd77011d61eb3ef833e6ae111
This commit is contained in:
Taylor Howell
2025-09-22 06:27:56 -07:00
committed by Copybara-Service
parent 4bbe4e5ebc
commit d616f11508
4 changed files with 2 additions and 11 deletions
+1 -2
View File
@@ -279,8 +279,7 @@ void mj_collision(const mjModel* m, mjData* d) {
}
// return if disabled
if (mjDISABLED(mjDSBL_CONSTRAINT) || mjDISABLED(mjDSBL_CONTACT)
|| m->nconmax == 0 || nbodyflex < 2) {
if (mjDISABLED(mjDSBL_CONSTRAINT) || mjDISABLED(mjDSBL_CONTACT) || nbodyflex < 2) {
return;
}