From 3abf2ae2cd579cc1e78b0337a9854d0d7cac31de Mon Sep 17 00:00:00 2001 From: Alessio Quaglino Date: Mon, 13 Mar 2023 10:13:50 -0700 Subject: [PATCH] Increase maximum number of geoms in simulate from 5000 to 20,000. PiperOrigin-RevId: 516246198 Change-Id: I8a07a075b370ad0c212db8ed68b3d61389eba197 --- simulate/simulate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simulate/simulate.cc b/simulate/simulate.cc index ea2bbdbd..403af039 100644 --- a/simulate/simulate.cc +++ b/simulate/simulate.cc @@ -54,7 +54,7 @@ using Milliseconds = std::chrono::duration; //------------------------------------------- global ----------------------------------------------- -const int maxgeom = 5000; // preallocated geom array in mjvScene +const int maxgeom = 20000; // preallocated geom array in mjvScene const double zoom_increment = 0.02; // ratio of one click-wheel zoom increment to vertical extent // section ids