Remove `mjWARN_VGEOMFULL, handle visual geom buffer full warnings in mjvScene`.
PiperOrigin-RevId: 896483023 Change-Id: I6dde2c20d8e8e229cf95e1f002dd10525d3376e6
This commit is contained in:
committed by
Copybara-Service
parent
5a2cc6cee3
commit
0e04436d51
@@ -1595,10 +1595,6 @@ const char* mju_warningText(int warning, size_t info) {
|
||||
"Increase arena memory allocation above %s bytes.", mju_writeNumBytes(info));
|
||||
break;
|
||||
|
||||
case mjWARN_VGEOMFULL:
|
||||
mjSNPRINTF(str, "Pre-allocated visual geom buffer is full. Increase maxgeom above %zu.", info);
|
||||
break;
|
||||
|
||||
case mjWARN_BADQPOS:
|
||||
mjSNPRINTF(str, "Nan, Inf or huge value in QPOS at DOF %zu. The simulation is unstable.", info);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user