mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-09 12:07:51 +03:00
create project file when saving content file
This commit is contained in:
parent
96fd1c35bf
commit
5779f799ab
15 changed files with 113 additions and 44 deletions
|
@ -2140,8 +2140,9 @@ void CSMDoc::Document::createBase()
|
|||
}
|
||||
|
||||
CSMDoc::Document::Document (const std::vector<boost::filesystem::path>& files,
|
||||
const boost::filesystem::path& savePath, bool new_)
|
||||
: mSavePath (savePath), mContentFiles (files), mTools (mData), mSaving (*this)
|
||||
const boost::filesystem::path& savePath, bool new_,
|
||||
const boost::filesystem::path& projectPath)
|
||||
: mSavePath (savePath), mContentFiles (files), mTools (mData), mSaving (*this, projectPath)
|
||||
{
|
||||
if (files.empty())
|
||||
throw std::runtime_error ("Empty content file sequence");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue