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

Merge pull request #8417 from neikeq/hello-there

External editor improvements and fixes
This commit is contained in:
Rémi Verschelde
2017-04-20 02:20:04 +02:00
committed by GitHub
11 changed files with 74 additions and 66 deletions

View File

@@ -2153,7 +2153,7 @@ void VisualScriptEditor::goto_line(int p_line, bool p_with_error) {
_update_graph();
_update_members();
call_deferred("_center_on_node", p_line); //editor might be just created and size might not exist yet
call_deferred("call_deferred", "_center_on_node", p_line); //editor might be just created and size might not exist yet
return;
}
@@ -2198,18 +2198,6 @@ void VisualScriptEditor::get_breakpoints(List<int> *p_breakpoints) {
}
}
bool VisualScriptEditor::goto_method(const String &p_method) {
if (!script->has_function(p_method))
return false;
edited_func = p_method;
selected = edited_func;
_update_members();
_update_graph();
return true;
}
void VisualScriptEditor::add_callback(const String &p_function, PoolStringArray p_args) {
if (script->has_function(p_function)) {