We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d93f10f commit 5cc2455Copy full SHA for 5cc2455
1 file changed
src/sim/gui_client.cpp
@@ -65,7 +65,8 @@ void GuiClient::render_loop() {
65
mjv_defaultFreeCamera(this->m, &this->cam);
66
mjv_defaultOption(&this->opt);
67
mjv_defaultScene(&this->scn);
68
- mjv_makeScene(this->m, &this->scn, mjFONTSCALE_100);
+ size_t max_geoms = 2000;
69
+ mjv_makeScene(this->m, &this->scn, max_geoms);
70
mjrRect viewport = {0, 0, 0, 0};
71
this->platform_ui->RefreshMjrContext(this->m, mjFONTSCALE_100);
72
this->platform_ui->SetVSync(true);
0 commit comments