Add mjNOBJECT value to mjtObj enum.
PiperOrigin-RevId: 590164716 Change-Id: I500741aa4fb97fe2c4f5d2086188bb2c9fdfd1a0
This commit is contained in:
committed by
Copybara-Service
parent
64c33cefcf
commit
28a9e6d9a2
@@ -1858,6 +1858,8 @@ static int numObjects(const mjModel* m, mjtObj objtype) {
|
||||
return m->nkey;
|
||||
case mjOBJ_PLUGIN:
|
||||
return m->nplugin;
|
||||
case mjNOBJECT:
|
||||
return -2;
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user