mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Log loading content file
This commit is contained in:
parent
fec74b7c41
commit
d852ac20f5
@ -27,6 +27,7 @@
|
||||
#include <apps/opencs/model/world/subcellcollection.hpp>
|
||||
#include <apps/opencs/model/world/universalid.hpp>
|
||||
|
||||
#include <components/debug/debuglog.hpp>
|
||||
#include <components/esm/defs.hpp>
|
||||
#include <components/esm/esmcommon.hpp>
|
||||
#include <components/esm3/cellref.hpp>
|
||||
@ -1041,6 +1042,8 @@ int CSMWorld::Data::getTotalRecords(const std::vector<std::filesystem::path>& 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<ESM::ESMReader> ptr(mReader);
|
||||
mReaders.push_back(ptr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user