File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -215,6 +215,8 @@ programmatically in MATLAB or python.
215
215
its properties are updated during scaling. (PR #1994 )
216
216
- The source code for the "From the Ground Up: Building a Passive Dynamic
217
217
Walker Example" was added to this repository.
218
+ - OpenSim no longer looks for the simbody-visualizer using the environment
219
+ variable ` OPENSIM_HOME ` .
218
220
219
221
Documentation
220
222
--------------
Original file line number Diff line number Diff line change @@ -227,19 +227,11 @@ void ModelVisualizer::addDirToGeometrySearchPaths(const std::string& dir) {
227
227
void ModelVisualizer::createVisualizer () {
228
228
_model.updMatterSubsystem ().setShowDefaultGeometry (false );
229
229
230
- // Allocate a Simbody Visualizer. If environment variable
231
- // OPENSIM_HOME is set, add its bin subdirectory to the search path
232
- // for the SimbodyVisualizer executable. The search will go as
230
+ // Allocate a Simbody Visualizer. The search will go as
233
231
// follows: first look in the same directory as the currently-
234
- // executing executable; then look in the $OPENSIM_HOME/bin
235
- // directory, then look at all the paths in the environment
232
+ // executing executable; then look at all the paths in the environment
236
233
// variable PATH, then look in various default Simbody places.
237
234
Array_<String> searchPath;
238
- if (SimTK::Pathname::environmentVariableExists (" OPENSIM_HOME" )) {
239
- searchPath.push_back (
240
- SimTK::Pathname::getEnvironmentVariable (" OPENSIM_HOME" )
241
- + " /bin" );
242
- }
243
235
if (SimTK::Pathname::environmentVariableExists (" PATH" )) {
244
236
const auto & path = SimTK::Pathname::getEnvironmentVariable (" PATH" );
245
237
std::string buffer{};
You can’t perform that action at this time.
0 commit comments