mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-02 01:06:40 +00:00
Getting rid of extension. Correcting tiny mistake in filters file.
This commit is contained in:
parent
6b293961b4
commit
96b6787255
3 changed files with 3 additions and 3 deletions
|
@ -321,7 +321,7 @@ configure_file(${OpenMW_SOURCE_DIR}/files/opencs.cfg
|
||||||
"${OpenMW_BINARY_DIR}/opencs.cfg")
|
"${OpenMW_BINARY_DIR}/opencs.cfg")
|
||||||
|
|
||||||
configure_file(${OpenMW_SOURCE_DIR}/files/opencs/defaultfilters.omwaddon.project
|
configure_file(${OpenMW_SOURCE_DIR}/files/opencs/defaultfilters.omwaddon.project
|
||||||
"${OpenMW_BINARY_DIR}/resources/defaultfilters.omwaddon.project" COPYONLY)
|
"${OpenMW_BINARY_DIR}/resources/defaultfilters" COPYONLY)
|
||||||
|
|
||||||
if (NOT WIN32 AND NOT APPLE)
|
if (NOT WIN32 AND NOT APPLE)
|
||||||
configure_file(${OpenMW_SOURCE_DIR}/files/openmw.desktop
|
configure_file(${OpenMW_SOURCE_DIR}/files/openmw.desktop
|
||||||
|
|
|
@ -2182,13 +2182,13 @@ CSMDoc::Document::Document (const Files::ConfigurationManager& configuration, co
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
boost::filesystem::path locCustomFiltersPath (configuration.getUserPath());
|
boost::filesystem::path locCustomFiltersPath (configuration.getUserPath());
|
||||||
locCustomFiltersPath /= "defaultfilters.omwaddon.project";
|
locCustomFiltersPath /= "customfilters.omwaddon.project";
|
||||||
if (boost::filesystem::exists(locCustomFiltersPath))
|
if (boost::filesystem::exists(locCustomFiltersPath))
|
||||||
{
|
{
|
||||||
boost::filesystem::copy(locCustomFiltersPath, mProjectPath);
|
boost::filesystem::copy(locCustomFiltersPath, mProjectPath);
|
||||||
} else {
|
} else {
|
||||||
boost::filesystem::path filters(mResDir);
|
boost::filesystem::path filters(mResDir);
|
||||||
filters /= "defaultfilters.omwaddon.project";
|
filters /= "defaultfilters";
|
||||||
boost::filesystem::copy_file(filters, mProjectPath);
|
boost::filesystem::copy_file(filters, mProjectPath);
|
||||||
}
|
}
|
||||||
getData().loadFile (mProjectPath, false, true);
|
getData().loadFile (mProjectPath, false, true);
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue