mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Add EditorStringNames singleton
This commit is contained in:
parent
fa3428ff25
commit
6de34fde27
176 changed files with 2549 additions and 2325 deletions
|
@ -36,6 +36,7 @@
|
|||
#include "core/config/project_settings.h"
|
||||
#include "editor/editor_scale.h"
|
||||
#include "editor/editor_settings.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/export/editor_export.h"
|
||||
#include "editor/import/resource_importer_texture_settings.h"
|
||||
#include "scene/resources/image_texture.h"
|
||||
|
@ -683,7 +684,7 @@ EditorExportPlatformWeb::EditorExportPlatformWeb() {
|
|||
|
||||
Ref<Theme> theme = EditorNode::get_singleton()->get_editor_theme();
|
||||
if (theme.is_valid()) {
|
||||
stop_icon = theme->get_icon(SNAME("Stop"), SNAME("EditorIcons"));
|
||||
stop_icon = theme->get_icon(SNAME("Stop"), EditorStringName(EditorIcons));
|
||||
} else {
|
||||
stop_icon.instantiate();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue