You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Rename internal Button icon to button_icon to match exposed methods
This commit is contained in:
@@ -105,7 +105,7 @@ void OccluderInstance3DEditorPlugin::_bind_methods() {
|
||||
OccluderInstance3DEditorPlugin::OccluderInstance3DEditorPlugin() {
|
||||
bake = memnew(Button);
|
||||
bake->set_theme_type_variation("FlatButton");
|
||||
bake->set_icon(EditorNode::get_singleton()->get_editor_theme()->get_icon(SNAME("Bake"), EditorStringName(EditorIcons)));
|
||||
bake->set_button_icon(EditorNode::get_singleton()->get_editor_theme()->get_icon(SNAME("Bake"), EditorStringName(EditorIcons)));
|
||||
bake->set_text(TTR("Bake Occluders"));
|
||||
bake->hide();
|
||||
bake->connect(SceneStringName(pressed), Callable(this, "_bake"));
|
||||
|
||||
Reference in New Issue
Block a user