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:
@@ -46,8 +46,8 @@
|
||||
void Polygon3DEditor::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_READY: {
|
||||
button_create->set_icon(get_editor_theme_icon(SNAME("Edit")));
|
||||
button_edit->set_icon(get_editor_theme_icon(SNAME("MovePoint")));
|
||||
button_create->set_button_icon(get_editor_theme_icon(SNAME("Edit")));
|
||||
button_edit->set_button_icon(get_editor_theme_icon(SNAME("MovePoint")));
|
||||
button_edit->set_pressed(true);
|
||||
get_tree()->connect("node_removed", callable_mp(this, &Polygon3DEditor::_node_removed));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user