diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-01-25 14:41:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-25 14:41:23 +0100 |
commit | c298b5267a48acaff02f7828044d8270d0e101fb (patch) | |
tree | febf49afa86556227efc0f456e7838dac0289a0e | |
parent | 6504b88547db63d9c39d378f535742e7b2825ca1 (diff) | |
parent | f119e0b1560c89b1fcf6c0c5e9f9fc101b00860f (diff) |
Merge pull request #25306 from DualMatrix/no_showup
Fixed function names of built-in scripts not showing up in debugger
-rw-r--r-- | editor/script_editor_debugger.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index acc735d571..5f6459045a 100644 --- a/editor/script_editor_debugger.cpp +++ b/editor/script_editor_debugger.cpp @@ -898,6 +898,10 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da item.name = strings[2]; item.script = strings[0]; item.line = strings[1].to_int(); + } else if (strings.size() == 4) { //Built-in scripts have an :: in their name + item.name = strings[3]; + item.script = strings[0] + "::" + strings[1]; + item.line = strings[2].to_int(); } } else { |