Show MuJoCo version in the help menu.

PiperOrigin-RevId: 875061430
Change-Id: I4d4ce32eebd8ca4af4622e9b4d1cd50d180d0b96
This commit is contained in:
Haroon Qureshi
2026-02-25 03:10:42 -08:00
committed by Copybara-Service
parent 27dc92b056
commit ae7efead09
+3
View File
@@ -1777,6 +1777,9 @@ void App::MainMenuGui() {
if (ImGui::MenuItem("ImPlot Demo")) {
tmp_.implot_demo = !tmp_.implot_demo;
}
ImGui::Separator();
std::string version = "Version " + std::string(mj_versionString());
ImGui::MenuItem(version.c_str());
ImGui::EndMenu();
}
ImGui::EndMainMenuBar();