diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-04-20 02:20:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-20 02:20:04 +0200 |
commit | 22b9c0207bf3a50bcc0db6df8af5ec2d8631abcc (patch) | |
tree | 5da42a60b092003ae4a933f2bceab8fd8fab713e /modules/visual_script/visual_script_editor.cpp | |
parent | c88f56be643c8635b3f9284b9e48a96be63bbc46 (diff) | |
parent | 4b8568006d1f83d518d98ef3c7354b7c25de46cc (diff) |
Merge pull request #8417 from neikeq/hello-there
External editor improvements and fixes
Diffstat (limited to 'modules/visual_script/visual_script_editor.cpp')
-rw-r--r-- | modules/visual_script/visual_script_editor.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/modules/visual_script/visual_script_editor.cpp b/modules/visual_script/visual_script_editor.cpp index 30178c32ff..f1816a762e 100644 --- a/modules/visual_script/visual_script_editor.cpp +++ b/modules/visual_script/visual_script_editor.cpp @@ -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)) { |