1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Reverted printable null object, seems to cause bugs around and not sure why.

Will have to check better, likely for 3.0
This commit is contained in:
Juan Linietsky
2016-08-06 20:13:27 -03:00
parent 9890c1d2ca
commit 9714a36e65
3 changed files with 7 additions and 3 deletions

View File

@@ -1510,7 +1510,7 @@ Variant::operator String() const {
switch( type ) {
case NIL: return "Null";
case NIL: return "";
case BOOL: return _data._bool ? "True" : "False";
case INT: return String::num(_data._int);
case REAL: return String::num(_data._real);