You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Many fixes to visual script, changed virtuals override for a proper selector.
This commit is contained in:
@@ -103,6 +103,7 @@ class VisualScriptEditor : public ScriptEditorBase {
|
||||
|
||||
PropertySelector *method_select;
|
||||
PropertySelector *new_connect_node_select;
|
||||
PropertySelector *new_virtual_method_select;
|
||||
|
||||
VisualScriptEditorVariableEdit *variable_editor;
|
||||
|
||||
@@ -135,10 +136,6 @@ class VisualScriptEditor : public ScriptEditorBase {
|
||||
Vector<Pair<Variant::Type, String> > args;
|
||||
};
|
||||
|
||||
Map<int, VirtualInMenu> virtuals_in_menu;
|
||||
|
||||
PopupMenu *new_function_menu;
|
||||
|
||||
StringName edited_func;
|
||||
|
||||
void _update_graph_connections();
|
||||
@@ -177,6 +174,7 @@ class VisualScriptEditor : public ScriptEditorBase {
|
||||
void _port_action_menu(int p_option);
|
||||
void _selected_connect_node_method_or_setget(const String &p_text);
|
||||
void _cancel_connect_node_method_or_setget();
|
||||
void _selected_new_virtual_method(const String &p_text);
|
||||
|
||||
int error_line;
|
||||
|
||||
@@ -188,7 +186,6 @@ class VisualScriptEditor : public ScriptEditorBase {
|
||||
void _change_base_type();
|
||||
void _member_selected();
|
||||
void _member_edited();
|
||||
void _override_pressed(int p_id);
|
||||
|
||||
void _begin_node_move();
|
||||
void _end_node_move();
|
||||
|
||||
Reference in New Issue
Block a user