Copybara import of the project:

--
4883e8aacd531d8dbc3551ba7cb4e3b4694dda1e by Silvio Traversaro <silvio@traversaro.it>:

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
This commit is contained in:
Silvio Traversaro
2024-03-12 05:32:30 -07:00
committed by Copybara-Service
parent a49f3f63fc
commit d90d57609e
+2 -1
View File
@@ -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;