1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Fix inconsistences in some buttons in the Canvas/Spatial editor menubar

This commit is contained in:
Michael Alexsander Silva Dias
2018-10-21 23:31:51 -03:00
parent dbaa223297
commit 46d02bade4
7 changed files with 16 additions and 17 deletions

View File

@@ -108,7 +108,7 @@ void BakedLightmapEditorPlugin::_bind_methods() {
BakedLightmapEditorPlugin::BakedLightmapEditorPlugin(EditorNode *p_node) {
editor = p_node;
bake = memnew(Button);
bake = memnew(ToolButton);
bake->set_icon(editor->get_gui_base()->get_icon("Bake", "EditorIcons"));
bake->set_text(TTR("Bake Lightmaps"));
bake->hide();