Fixed function names of built-in scripts not showing up in debugger
Fixes #25198
This commit is contained in:
parent
d0b736f7e5
commit
f119e0b156
1 changed files with 4 additions and 0 deletions
|
@ -898,6 +898,10 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da
|
||||||
item.name = strings[2];
|
item.name = strings[2];
|
||||||
item.script = strings[0];
|
item.script = strings[0];
|
||||||
item.line = strings[1].to_int();
|
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 {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue