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