1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #90971 from billuo/string-format-rid

Fix `RID` cannot be string formatted
This commit is contained in:
Thaddeus Crews
2025-04-14 19:39:50 -05:00

View File

@@ -466,6 +466,7 @@ void Variant::_register_variant_operators() {
register_string_modulo_op(Color, Variant::COLOR);
register_string_modulo_op(StringName, Variant::STRING_NAME);
register_string_modulo_op(NodePath, Variant::NODE_PATH);
register_string_modulo_op(::RID, Variant::RID);
register_string_modulo_op(Object, Variant::OBJECT);
register_string_modulo_op(Callable, Variant::CALLABLE);
register_string_modulo_op(Signal, Variant::SIGNAL);