You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Use GDExtension to_string in Node
Matches the `Object::to_string` implementation.
This commit is contained in:
@@ -923,6 +923,7 @@ void Object::notification(int p_notification, bool p_reversed) {
|
||||
}
|
||||
|
||||
String Object::to_string() {
|
||||
// Keep this method in sync with `Node::to_string`.
|
||||
if (script_instance) {
|
||||
bool valid;
|
||||
String ret = script_instance->to_string(&valid);
|
||||
|
||||
Reference in New Issue
Block a user