Reduce effect of infinite planes on center and extent statistics

PiperOrigin-RevId: 923868757
Change-Id: I3630d29f05a19e0767549284abbe8a8d9386894b
This commit is contained in:
Yuval Tassa
2026-05-30 04:11:38 -07:00
committed by Copybara-Service
parent d7e872b6f9
commit 3a6e0ee9b3
+1 -1
View File
@@ -1080,7 +1080,7 @@ static void setStat(mjModel* m, mjData* d) {
// infinite in both directions
else {
rbound = 1;
rbound = 0.01;
}
} else if (m->geom_type[i] == mjGEOM_HFIELD) {
int j = m->geom_dataid[i];