diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-08-31 17:37:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 17:37:08 +0200 |
commit | 10aec9057c104b493d74dd3e815439abbac3db69 (patch) | |
tree | 827e4ee8584ee74045c7ee0609bf3d8b054ad670 /modules/mono/glue/runtime_interop.cpp | |
parent | f4ec011c29b036d665fcb9c7a09d23f5beee3af3 (diff) | |
parent | 291d3aaabefa86b4e102fa7385bcf7aacd240d72 (diff) | |
download | redot-engine-10aec9057c104b493d74dd3e815439abbac3db69.tar.gz |
Merge pull request #63411 from Calinou/improve-null-object-dictionary-print
Improve null and object printing to avoid confusion with arrays
Diffstat (limited to 'modules/mono/glue/runtime_interop.cpp')
-rw-r--r-- | modules/mono/glue/runtime_interop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/runtime_interop.cpp b/modules/mono/glue/runtime_interop.cpp index 529bda4c38..49a8109ab4 100644 --- a/modules/mono/glue/runtime_interop.cpp +++ b/modules/mono/glue/runtime_interop.cpp @@ -1319,7 +1319,7 @@ void godotsharp_object_to_string(Object *p_ptr, godot_string *r_str) { #endif // Can't call 'Object::to_string()' here, as that can end up calling 'ToString' again resulting in an endless circular loop. memnew_placement(r_str, - String("[" + p_ptr->get_class() + ":" + itos(p_ptr->get_instance_id()) + "]")); + String("<" + p_ptr->get_class() + "#" + itos(p_ptr->get_instance_id()) + ">")); } #ifdef __cplusplus |