Skip to content

Commit 23b786f

Browse files
authored
Merge pull request #4045 from gateway240/generic-model-maker-log
Clarify path logging line in GenericModelMaker
2 parents d409fd8 + c656a65 commit 23b786f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

OpenSim/Tools/GenericModelMaker.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,9 @@ Model* GenericModelMaker::processModel(const string& aPathToSubject) const
165165
model->initSystem();
166166

167167
if (!_markerSetFileNameProp.getValueIsDefault() && _markerSetFileName !="Unassigned") {
168-
log_info("Loading marker set from '{}'.",
169-
aPathToSubject + _markerSetFileName);
170168
std::string markerSetPath =
171169
SimTK::Pathname::getAbsolutePathnameUsingSpecifiedWorkingDirectory(aPathToSubject, _markerSetFileName);
170+
log_info("Loading marker set from '{}'.", markerSetPath);
172171
MarkerSet *markerSet = new MarkerSet(markerSetPath);
173172
model->updateMarkerSet(*markerSet);
174173
}

0 commit comments

Comments
 (0)