Remove references to deprecated nconmax and njmax.
PiperOrigin-RevId: 809987304 Change-Id: I4109497fe108234dd77011d61eb3ef833e6ae111
This commit is contained in:
committed by
Copybara-Service
parent
4bbe4e5ebc
commit
d616f11508
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user