Explorar o código

Merge pull request #25306 from DualMatrix/no_showup

Fixed function names of built-in scripts not showing up in debugger
Rémi Verschelde %!s(int64=6) %!d(string=hai) anos
pai
achega
c298b5267a
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      editor/script_editor_debugger.cpp

+ 4 - 0
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 {