diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-07-19 15:20:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-19 15:20:25 +0200 |
| commit | 855c7c7414a2f29cd420e8dd654a4630226bcd50 (patch) | |
| tree | 343caeb7b32ef068f50a69e91dad2a8aefe681fb /editor/plugins/lightmap_gi_editor_plugin.cpp | |
| parent | 54b598ffe4f1ba5cc55c947a2cb5192829770088 (diff) | |
| parent | 6631f66c2a9d54dc80d57df60376c84ce1252d08 (diff) | |
| download | redot-engine-855c7c7414a2f29cd420e8dd654a4630226bcd50.tar.gz | |
Merge pull request #50566 from reduz/optimize-stringname-usage
Optimize StringName usage
Diffstat (limited to 'editor/plugins/lightmap_gi_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/lightmap_gi_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/lightmap_gi_editor_plugin.cpp b/editor/plugins/lightmap_gi_editor_plugin.cpp index 484fdabfe1..b4a70cd31d 100644 --- a/editor/plugins/lightmap_gi_editor_plugin.cpp +++ b/editor/plugins/lightmap_gi_editor_plugin.cpp @@ -119,7 +119,7 @@ LightmapGIEditorPlugin::LightmapGIEditorPlugin(EditorNode *p_node) { editor = p_node; bake = memnew(Button); bake->set_flat(true); - bake->set_icon(editor->get_gui_base()->get_theme_icon("Bake", "EditorIcons")); + bake->set_icon(editor->get_gui_base()->get_theme_icon(SNAME("Bake"), SNAME("EditorIcons"))); bake->set_text(TTR("Bake Lightmaps")); bake->hide(); bake->connect("pressed", Callable(this, "_bake")); |
