From 95c38bacc7b7a76a5d4254141a294c4c7a0b473b Mon Sep 17 00:00:00 2001 From: Alexei Kotov Date: Tue, 26 Nov 2024 06:57:26 +0300 Subject: [PATCH] Remove write nif debug log setting --- apps/openmw/mwrender/renderingmanager.cpp | 1 - components/settings/categories/models.hpp | 1 - docs/source/reference/modding/settings/models.rst | 12 ------------ files/settings-default.cfg | 3 --- 4 files changed, 17 deletions(-) diff --git a/apps/openmw/mwrender/renderingmanager.cpp b/apps/openmw/mwrender/renderingmanager.cpp index eb73f9ac5a..fcb2d18e4c 100644 --- a/apps/openmw/mwrender/renderingmanager.cpp +++ b/apps/openmw/mwrender/renderingmanager.cpp @@ -584,7 +584,6 @@ namespace MWRender NifOsg::Loader::setHiddenNodeMask(Mask_UpdateVisitor); NifOsg::Loader::setIntersectionDisabledNodeMask(Mask_Effect); Nif::Reader::setLoadUnsupportedFiles(Settings::models().mLoadUnsupportedNifFiles); - Nif::Reader::setWriteNifDebugLog(Settings::models().mWriteNifDebugLog); mStateUpdater->setFogEnd(mViewDistance); diff --git a/components/settings/categories/models.hpp b/components/settings/categories/models.hpp index 5cadca8be7..b7ded15151 100644 --- a/components/settings/categories/models.hpp +++ b/components/settings/categories/models.hpp @@ -34,7 +34,6 @@ namespace Settings SettingValue mWeatherblightcloud{ mIndex, "Models", "weatherblightcloud" }; SettingValue mWeathersnow{ mIndex, "Models", "weathersnow" }; SettingValue mWeatherblizzard{ mIndex, "Models", "weatherblizzard" }; - SettingValue mWriteNifDebugLog{ mIndex, "Models", "write nif debug log" }; }; } diff --git a/docs/source/reference/modding/settings/models.rst b/docs/source/reference/modding/settings/models.rst index 4cf8d4c0d6..f39faca7cf 100644 --- a/docs/source/reference/modding/settings/models.rst +++ b/docs/source/reference/modding/settings/models.rst @@ -27,9 +27,6 @@ If enabled, this setting allows the NIF loader to make use of that functionality **Do not enable** this if you're not so sure that you know what you're doing. -To help debug possible issues OpenMW will log its progress in loading -every file that uses an unsupported NIF version. - xbaseanim --------- @@ -263,12 +260,3 @@ weatherblizzard Path to the file used for the blizzard clouds weather effect in Morrowind. OpenMW doesn't use this file, instead it renders a similar looking particle effect. Changing this won't have any effect. - -write nif debug log -------------------- - -:Type: boolean -:Range: True/False -:Default: False - -If enabled, log the loading process of NIF files. diff --git a/files/settings-default.cfg b/files/settings-default.cfg index 5acce45df5..a5b8426f19 100644 --- a/files/settings-default.cfg +++ b/files/settings-default.cfg @@ -1154,9 +1154,6 @@ weathersnow = meshes/snow.nif # Blizzard weather effect weatherblizzard = meshes/blizzard.nif -# Enable to write logs when loading NIF files -write nif debug log = false - [Groundcover] # enable separate groundcover handling