diff --git a/src/tracks/track_object_presentation.cpp b/src/tracks/track_object_presentation.cpp index 7995e31a0..1a6d5b17a 100644 --- a/src/tracks/track_object_presentation.cpp +++ b/src/tracks/track_object_presentation.cpp @@ -180,12 +180,12 @@ TrackObjectPresentationLibraryNode::TrackObjectPresentationLibraryNode( track = world->getTrack(); std::string local_lib_node_path; if (track != NULL) - local_lib_node_path = track->getTrackFile(name + "/node.xml"); + local_lib_node_path = track->getTrackFile("library/" + name + "/node.xml"); std::string lib_node_path = lib_path + "node.xml"; if (local_lib_node_path.size() > 0 && file_manager->fileExists(local_lib_node_path)) { - lib_path = track->getTrackFile(name); + lib_path = track->getTrackFile("library/" + name); libroot = file_manager->createXMLTree(local_lib_node_path); } else if (file_manager->fileExists(lib_node_path))