diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-01-03 11:06:53 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-01-03 11:06:53 -0300 |
commit | cef3bd026fa6a6c1b2e19693b111210b3ce876ac (patch) | |
tree | beea572b5c526fe8ba72669bb1110b08be07a714 /core/io | |
parent | 60afd79a6e2354e0254c280d826bc6f12f68ffa1 (diff) |
-fixed issue with denormals in half precission, closes #1073
-added h_offset and v_offset to 3D Camera, should allow to do the same as in #1102
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/json.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/json.cpp b/core/io/json.cpp index a83d7e4d6e..88a23eb4cd 100644 --- a/core/io/json.cpp +++ b/core/io/json.cpp @@ -250,7 +250,7 @@ Error JSON::_get_token(const CharType *p_str, int &idx, int p_len, Token& r_toke if (p_str[idx]=='-' || (p_str[idx]>='0' && p_str[idx]<='9')) { //a number const CharType *rptr; - double number = String::to_double(&p_str[idx],-1,&rptr); + double number = String::to_double(&p_str[idx],&rptr); idx+=(rptr - &p_str[idx]); r_token.type=TK_NUMBER; r_token.value=number; |