From d90d57609ebe1f8af499a87bb3ef80ea10566feb Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Tue, 12 Mar 2024 05:32:30 -0700 Subject: [PATCH] Copybara import of the project: -- 4883e8aacd531d8dbc3551ba7cb4e3b4694dda1e by Silvio Traversaro : Fix plugin related comment in simulate The comment was outdated after https://github.com/google-deepmind/mujoco/commit/2ebc5f097b1a5fbbe276250ad1d13966510d1291 . COPYBARA_INTEGRATE_REVIEW=https://github.com/google-deepmind/mujoco/pull/1499 from traversaro:patch-37 4883e8aacd531d8dbc3551ba7cb4e3b4694dda1e PiperOrigin-RevId: 615005350 Change-Id: I93d746f996de25b871cc1bc5651308d44382feef --- simulate/main.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/simulate/main.cc b/simulate/main.cc index f23a0e30..5ff59e76 100644 --- a/simulate/main.cc +++ b/simulate/main.cc @@ -180,8 +180,9 @@ void scanPluginLibraries() { #endif - // try to open the ${EXECDIR}/plugin directory + // try to open the ${EXECDIR}/MUJOCO_PLUGIN_DIR directory // ${EXECDIR} is the directory containing the simulate binary itself + // MUJOCO_PLUGIN_DIR is the MUJOCO_PLUGIN_DIR preprocessor macro const std::string executable_dir = getExecutableDir(); if (executable_dir.empty()) { return;