diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2022-11-07 02:09:13 -0600 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2022-11-19 17:33:40 -0600 |
commit | f6714858bfcfd22e481629e096c0e7293aed8cd9 (patch) | |
tree | 18af3ca7c91a3740595692818f2056d2d4a33ca0 /editor/plugins/mesh_editor_plugin.cpp | |
parent | 895428c8058ce97abb02a6a3500e463f72a4f9c9 (diff) |
Rename TextureButton set_*_texture methods to set_texture_*
Diffstat (limited to 'editor/plugins/mesh_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/mesh_editor_plugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/plugins/mesh_editor_plugin.cpp b/editor/plugins/mesh_editor_plugin.cpp index be26baaea5..57dc92a9ee 100644 --- a/editor/plugins/mesh_editor_plugin.cpp +++ b/editor/plugins/mesh_editor_plugin.cpp @@ -61,10 +61,10 @@ void MeshEditor::_update_theme_item_cache() { void MeshEditor::_notification(int p_what) { switch (p_what) { case NOTIFICATION_THEME_CHANGED: { - light_1_switch->set_normal_texture(theme_cache.light_1_on); - light_1_switch->set_pressed_texture(theme_cache.light_1_off); - light_2_switch->set_normal_texture(theme_cache.light_2_on); - light_2_switch->set_pressed_texture(theme_cache.light_2_off); + light_1_switch->set_texture_normal(theme_cache.light_1_on); + light_1_switch->set_texture_pressed(theme_cache.light_1_off); + light_2_switch->set_texture_normal(theme_cache.light_2_on); + light_2_switch->set_texture_pressed(theme_cache.light_2_off); } break; } } |