From d852ac20f5ccfa20a5286eb0a26d4e6cd740c4ed Mon Sep 17 00:00:00 2001 From: elsid Date: Thu, 25 May 2023 20:43:54 +0200 Subject: [PATCH] Log loading content file --- apps/opencs/model/world/data.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/opencs/model/world/data.cpp b/apps/opencs/model/world/data.cpp index 372b865009..44b162ac15 100644 --- a/apps/opencs/model/world/data.cpp +++ b/apps/opencs/model/world/data.cpp @@ -27,6 +27,7 @@ #include #include +#include #include #include #include @@ -1041,6 +1042,8 @@ int CSMWorld::Data::getTotalRecords(const std::vector& fi int CSMWorld::Data::startLoading(const std::filesystem::path& path, bool base, bool project) { + Log(Debug::Info) << "Loading content file " << path; + // Don't delete the Reader yet. Some record types store a reference to the Reader to handle on-demand loading std::shared_ptr ptr(mReader); mReaders.push_back(ptr);