mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 16:33:30 +00:00
Merge pull request #8417 from neikeq/hello-there
External editor improvements and fixes
This commit is contained in:
commit
22b9c0207b
11 changed files with 74 additions and 66 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue