diff --git a/OpenSim/Tests/VisualizeModel/VisualizeModel.cpp b/OpenSim/Tests/VisualizeModel/VisualizeModel.cpp index cf4deb4625..03bd95388f 100644 --- a/OpenSim/Tests/VisualizeModel/VisualizeModel.cpp +++ b/OpenSim/Tests/VisualizeModel/VisualizeModel.cpp @@ -56,6 +56,12 @@ int main(int argc, char **argv) Model osimModel(modelFile); osimModel.print("updated_" + modelFile); osimModel.setUseVisualizer(true); + // If Geometry is located in folders other than where the .osim + // file is located or in a Geometry folder adjacent to the model + // file, then define the variable additionalGeometrySearchPath + // as the folder containing geometry mesh files + // and uncomment the line below. + // ModelVisualizer::addDirToGeometrySearchPaths(additionalGeometrySearchPath); osimModel.updDisplayHints().set_show_frames(false); SimTK::State& si = osimModel.initSystem(); osimModel.equilibrateMuscles(si);