You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
@@ -1907,7 +1907,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
||||
Ref<Theme> create_custom_theme(const Ref<Theme> p_theme) {
|
||||
Ref<Theme> theme = create_editor_theme(p_theme);
|
||||
|
||||
const String custom_theme_path = EditorSettings::get_singleton()->get("interface/theme/custom_theme");
|
||||
const String custom_theme_path = EDITOR_GET("interface/theme/custom_theme");
|
||||
if (!custom_theme_path.is_empty()) {
|
||||
Ref<Theme> custom_theme = ResourceLoader::load(custom_theme_path);
|
||||
if (custom_theme.is_valid()) {
|
||||
|
||||
Reference in New Issue
Block a user