mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-09 03:57:51 +03:00
preserve author/descriptin meta data
This commit is contained in:
parent
830530bd06
commit
96fd1c35bf
4 changed files with 41 additions and 3 deletions
|
@ -2158,6 +2158,12 @@ CSMDoc::Document::Document (const std::vector<boost::filesystem::path>& files,
|
|||
load (files.begin(), end, !new_);
|
||||
}
|
||||
|
||||
if (new_)
|
||||
{
|
||||
mData.setDescription ("");
|
||||
mData.setAuthor ("");
|
||||
}
|
||||
|
||||
addOptionalGmsts();
|
||||
addOptionalGlobals();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue