diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-01-02 13:54:16 +0100 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-01-02 13:54:20 +0100 |
commit | 844a8d215b1fa768440d5233c532f6e71c54fc14 (patch) | |
tree | eae988c1ae1d36466f5ceca09e0eee57e62bb8d8 /modules/bullet/collision_object_bullet.h | |
parent | ea75ea50d2b0f76c44e02e6fd8a558788cc375f6 (diff) |
Mono/C#: Make 'GD.Print' and its variants fallback to 'ToString()'
Up until now, 'GD.Print' would convert parameters first to
Variant and only then to String. This meant parameters that cannot be
converted to Variant would be printed as "Null".
This commit makes 'GD.Print' fallback to 'System.Object.ToString()'
if the parameter could not be converted to Variant.
The same applies to all 'GD.Print' variants:
'GD.PrintS', 'GD.PrintT', 'GD.PrintErr' and 'GD.PrintRaw'.
Diffstat (limited to 'modules/bullet/collision_object_bullet.h')
0 files changed, 0 insertions, 0 deletions