You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Reworked signal connection system, added support for Callable and Signal objects and made them default.
This commit is contained in:
committed by
Juan Linietsky
parent
1a4be2cd8f
commit
69c95f4b4c
@@ -240,9 +240,9 @@ void CPUParticles2DEditorPlugin::_notification(int p_what) {
|
||||
|
||||
if (p_what == NOTIFICATION_ENTER_TREE) {
|
||||
|
||||
menu->get_popup()->connect("id_pressed", this, "_menu_callback");
|
||||
menu->get_popup()->connect_compat("id_pressed", this, "_menu_callback");
|
||||
menu->set_icon(menu->get_popup()->get_icon("Particles2D", "EditorIcons"));
|
||||
file->connect("file_selected", this, "_file_selected");
|
||||
file->connect_compat("file_selected", this, "_file_selected");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -305,7 +305,7 @@ CPUParticles2DEditorPlugin::CPUParticles2DEditorPlugin(EditorNode *p_node) {
|
||||
|
||||
toolbar->add_child(emission_mask);
|
||||
|
||||
emission_mask->connect("confirmed", this, "_generate_emission_mask");
|
||||
emission_mask->connect_compat("confirmed", this, "_generate_emission_mask");
|
||||
}
|
||||
|
||||
CPUParticles2DEditorPlugin::~CPUParticles2DEditorPlugin() {
|
||||
|
||||
Reference in New Issue
Block a user