Increase maximum number of UI elements per section in Simulate.
PiperOrigin-RevId: 529079121 Change-Id: Ia81418e45c855649e1d9654bbc522f7dffd7dfdc
This commit is contained in:
committed by
Copybara-Service
parent
42fbc2ec7b
commit
3d82d2a40f
@@ -25,6 +25,7 @@ General
|
||||
See :ref:`mju_cholFactorBand` documentation for details.
|
||||
- Added :ref:`mj_multiRay` function for intersecting multiple rays emanating from a single point.
|
||||
This is significantly faster than calling :ref:`mj_ray` multiple times.
|
||||
- Increased ``mjMAXUIITEM`` (maximum number of UI elements per section in Simulate) to 100.
|
||||
|
||||
Version 2.3.5 (April 25, 2023)
|
||||
------------------------------
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include <mujoco/mjrender.h>
|
||||
|
||||
#define mjMAXUISECT 10 // maximum number of sections
|
||||
#define mjMAXUIITEM 80 // maximum number of items per section
|
||||
#define mjMAXUIITEM 100 // maximum number of items per section
|
||||
#define mjMAXUITEXT 300 // maximum number of chars in edittext and other
|
||||
#define mjMAXUINAME 40 // maximum number of chars in name
|
||||
#define mjMAXUIMULTI 35 // maximum number of radio/select items in group
|
||||
|
||||
@@ -7199,7 +7199,7 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
name='item',
|
||||
type=ArrayType(
|
||||
inner_type=ValueType(name='mjuiItem'),
|
||||
extents=(80,),
|
||||
extents=(100,),
|
||||
),
|
||||
doc='preallocated array of items',
|
||||
),
|
||||
|
||||
@@ -59,7 +59,7 @@ public const bool mjUSEDOUBLE = true;
|
||||
public const double mjMINVAL = 1e-15;
|
||||
public const bool THIRD_PARTY_MUJOCO_MJUI_H_ = true;
|
||||
public const int mjMAXUISECT = 10;
|
||||
public const int mjMAXUIITEM = 80;
|
||||
public const int mjMAXUIITEM = 100;
|
||||
public const int mjMAXUITEXT = 300;
|
||||
public const int mjMAXUINAME = 40;
|
||||
public const int mjMAXUIMULTI = 35;
|
||||
|
||||
Reference in New Issue
Block a user