Skip to content

Commit

Permalink
Merge branch 'gz-sim9' into dockerbuildfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ntfshard authored Nov 14, 2024
2 parents fec291b + 57599fb commit 5bb243c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ if (BUILD_TESTING)
endif()

set(_env_vars)
list(APPEND _env_vars "PYTHONPATH=${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/python/")
list(APPEND _env_vars "PYTHONPATH=${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/python/:$ENV{PYTHONPATH}")
list(APPEND _env_vars "LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}:$ENV{LD_LIBRARY_PATH}")
set_tests_properties(${test} PROPERTIES
ENVIRONMENT "${_env_vars}")
Expand Down
2 changes: 1 addition & 1 deletion src/systems/optical_tactile_plugin/OpticalTactilePlugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ void OpticalTactilePluginPrivate::Enable(const gz::msgs::Boolean &_req)

this->enabled = _req.data();

if (!_req.data())
if (!_req.data() && this->visualizePtr)
{
this->visualizePtr->RemoveNormalForcesAndContactsMarkers();
}
Expand Down
2 changes: 1 addition & 1 deletion test/integration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -246,5 +246,5 @@ endif()

if (TARGET INTEGRATION_python_system_loader)
set_tests_properties(INTEGRATION_python_system_loader PROPERTIES
ENVIRONMENT "PYTHONPATH=${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/python/")
ENVIRONMENT "PYTHONPATH=${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/python/:$ENV{PYTHONPATH}")
endif()

0 comments on commit 5bb243c

Please sign in to comment.