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/texture_layered_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/texture_layered_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/texture_layered_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/texture_layered_editor_plugin.cpp b/editor/plugins/texture_layered_editor_plugin.cpp index 3f46cd64a2..fb50e1c4a6 100644 --- a/editor/plugins/texture_layered_editor_plugin.cpp +++ b/editor/plugins/texture_layered_editor_plugin.cpp @@ -58,7 +58,7 @@ void TextureLayeredEditor::_notification(int p_what) { } if (p_what == NOTIFICATION_DRAW) { - Ref<Texture2D> checkerboard = get_theme_icon("Checkerboard", "EditorIcons"); + Ref<Texture2D> checkerboard = get_theme_icon(SNAME("Checkerboard"), SNAME("EditorIcons")); Size2 size = get_size(); draw_texture_rect(checkerboard, Rect2(Point2(), size), true); |
