1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Visualscript fix crash and generic search does not connect ports.

* Signal change requires function changes to _selected_new_virtual_method
This commit is contained in:
K. S. Ernest (iFire) Lee
2018-07-25 11:49:41 -07:00
parent 96d37769d9
commit 00519debbe
4 changed files with 60 additions and 35 deletions

View File

@@ -56,6 +56,7 @@ class VisualScriptPropertySelector : public ConfirmationDialog {
bool properties;
bool visual_script_generic;
bool connecting;
String selected;
Variant::Type type;
String base_type;
@@ -74,13 +75,13 @@ protected:
static void _bind_methods();
public:
void select_method_from_base_type(const String &p_base, const String &p_current = "", bool p_virtuals_only = false);
void select_from_base_type(const String &p_base, const String &p_current = "", bool p_virtuals_only = false, bool p_seq_connect = false);
void select_from_script(const Ref<Script> &p_script, const String &p_current /*= ""*/);
void select_from_basic_type(Variant::Type p_type, const String &p_current = "");
void select_from_action(const String &p_type, const String &p_current = "");
void select_from_instance(Object *p_instance, const String &p_current = "");
void select_from_visual_script(const String &p_base);
void select_method_from_base_type(const String &p_base, const String &p_current = "", const bool p_virtuals_only = false, const bool p_connecting = true);
void select_from_base_type(const String &p_base, const String &p_current = "", bool p_virtuals_only = false, bool p_seq_connect = false, const bool p_connecting = true);
void select_from_script(const Ref<Script> &p_script, const String &p_current = "", const bool p_connecting = true);
void select_from_basic_type(Variant::Type p_type, const String &p_current = "", const bool p_connecting = true);
void select_from_action(const String &p_type, const String &p_current = "", const bool p_connecting = true);
void select_from_instance(Object *p_instance, const String &p_current = "", const bool p_connecting = true);
void select_from_visual_script(const String &p_base, const bool p_connecting = true);
void show_window(float p_screen_ratio);