Merge pull request #23880 from Liangdi/master

add undeclared  params of VisualScriptEditor::_selected_method
This commit is contained in:
Rémi Verschelde 2018-11-21 15:38:53 +01:00 committed by GitHub
commit 24f496b402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1923,7 +1923,7 @@ void VisualScriptEditor::drop_data_fw(const Point2 &p_point, const Variant &p_da
} }
} }
void VisualScriptEditor::_selected_method(const String &p_method, const String &p_type) { void VisualScriptEditor::_selected_method(const String &p_method, const String &p_type, const bool p_connecting) {
Ref<VisualScriptFunctionCall> vsfc = script->get_node(edited_func, selecting_method_id); Ref<VisualScriptFunctionCall> vsfc = script->get_node(edited_func, selecting_method_id);
if (!vsfc.is_valid()) if (!vsfc.is_valid())

View File

@ -234,7 +234,7 @@ class VisualScriptEditor : public ScriptEditorBase {
void _comment_node_resized(const Vector2 &p_new_size, int p_node); void _comment_node_resized(const Vector2 &p_new_size, int p_node);
int selecting_method_id; int selecting_method_id;
void _selected_method(const String &p_method, const String &p_type); void _selected_method(const String &p_method, const String &p_type, const bool p_connecting);
void _draw_color_over_button(Object *obj, Color p_color); void _draw_color_over_button(Object *obj, Color p_color);
void _button_resource_previewed(const String &p_path, const Ref<Texture> &p_preview, const Ref<Texture> &p_small_preview, Variant p_ud); void _button_resource_previewed(const String &p_path, const Ref<Texture> &p_preview, const Ref<Texture> &p_small_preview, Variant p_ud);