diff --git a/src/experimental/studio/main.cc b/src/experimental/studio/main.cc index b45a4e45..86e4b766 100644 --- a/src/experimental/studio/main.cc +++ b/src/experimental/studio/main.cc @@ -33,7 +33,8 @@ ABSL_FLAG(int, window_height, 720, "Window height"); ABSL_FLAG(std::string, model_file, "", "MuJoCo model file."); std::string Resolve(std::string_view path) { - return std::string("assets/") + std::string(path); + std::string_view subpath = path.substr(path.find(':') + 1); + return std::string("assets/") + std::string(subpath); } class FileResource {