Commit 5ddab36 1 parent 102099e commit 5ddab36 Copy full SHA for 5ddab36
File tree 1 file changed +0
-10
lines changed
Framework/Modules/Manager
1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change 3
3
#include < yaml-cpp/yaml.h>
4
4
// The imspinner devs decided to just not include imgui
5
5
#include < imgui.h>
6
- #include < imgui_internal.h>
7
6
#ifdef UIMGUI_SPINNERS_MODULE_ENABLED
8
7
#include " Modules/Spinners/ThirdParty/imspinner/imspinner.h"
9
8
#endif
@@ -39,12 +38,6 @@ void UImGui::ModulesManager::init(const FString& configDir)
39
38
settings.maxTransactions = node[" undo-max-transactions" ].as <size_t >();
40
39
41
40
initModules (UImGui_InitInfo_getProjectDir ());
42
-
43
- // Put this one after we have initialized the locale module
44
- #ifdef UIMGUI_LOCALE_MODULE_ENABLED
45
- if (node[" current-locale" ])
46
- Locale::getCurrentLayout () = Locale::getLocaleID (node[" current-locale" ].as <std::string>());
47
- #endif
48
41
}
49
42
50
43
void UImGui::ModulesManager::save (const FString& configDir) const noexcept
@@ -53,9 +46,6 @@ void UImGui::ModulesManager::save(const FString& configDir) const noexcept
53
46
out << YAML::BeginMap;
54
47
55
48
out << YAML::Key << " undo-max-transactions" << YAML::Value << settings.maxTransactions ;
56
- #ifdef UIMGUI_LOCALE_MODULE_ENABLED
57
- out << YAML::Key << " current-locale" << YAML::Value << Locale::getLocaleName (Locale::getCurrentLayout ());
58
- #endif
59
49
out << YAML::EndMap;
60
50
61
51
std::ofstream fout (configDir + " Core/Modules.yaml" );
You can’t perform that action at this time.
0 commit comments