|
2 | 2 |
|
3 | 3 | #include "state.hpp"
|
4 | 4 |
|
5 |
| -#include <apps/opencs/model/doc/blacklist.hpp> |
6 | 5 | #include <apps/opencs/model/doc/messages.hpp>
|
7 | 6 | #include <apps/opencs/model/doc/operationholder.hpp>
|
8 | 7 | #include <apps/opencs/model/doc/runner.hpp>
|
@@ -295,8 +294,7 @@ void CSMDoc::Document::createBase()
|
295 | 294 |
|
296 | 295 | CSMDoc::Document::Document(const Files::ConfigurationManager& configuration, std::vector<std::filesystem::path> files,
|
297 | 296 | bool new_, const std::filesystem::path& savePath, const std::filesystem::path& resDir, ToUTF8::FromType encoding,
|
298 |
| - const std::vector<std::string>& blacklistedScripts, const Files::PathContainer& dataPaths, |
299 |
| - const std::vector<std::string>& archives) |
| 297 | + const Files::PathContainer& dataPaths, const std::vector<std::string>& archives) |
300 | 298 | : mSavePath(savePath)
|
301 | 299 | , mContentFiles(std::move(files))
|
302 | 300 | , mNew(new_)
|
@@ -339,8 +337,6 @@ CSMDoc::Document::Document(const Files::ConfigurationManager& configuration, std
|
339 | 337 | createBase();
|
340 | 338 | }
|
341 | 339 |
|
342 |
| - mBlacklist.add(CSMWorld::UniversalId::Type_Script, blacklistedScripts); |
343 |
| - |
344 | 340 | addOptionalGmsts();
|
345 | 341 | addOptionalGlobals();
|
346 | 342 | addOptionalMagicEffects();
|
@@ -485,11 +481,6 @@ CSMTools::ReportModel* CSMDoc::Document::getReport(const CSMWorld::UniversalId&
|
485 | 481 | return mTools.getReport(id);
|
486 | 482 | }
|
487 | 483 |
|
488 |
| -bool CSMDoc::Document::isBlacklisted(const CSMWorld::UniversalId& id) const |
489 |
| -{ |
490 |
| - return mBlacklist.isBlacklisted(id); |
491 |
| -} |
492 |
| - |
493 | 484 | void CSMDoc::Document::startRunning(const std::string& profile, const std::string& startupInstruction)
|
494 | 485 | {
|
495 | 486 | std::vector<std::filesystem::path> contentFiles;
|
|
0 commit comments