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

Changed reload logic to auto-hard-reload scripts on save. It's simpler to use and also fixes #4756

This commit is contained in:
Juan Linietsky
2016-06-13 10:58:32 -03:00
parent 910151a361
commit 45443a1651
5 changed files with 29 additions and 4 deletions

View File

@@ -1791,8 +1791,9 @@ Error VariantParser::parse(Stream *p_stream, Variant& r_ret, String &r_err_str,
static String rtosfix(double p_value) {
if (p_value==0.0)
return "0"; //avoid negative zero being written, which may annoy git, svn, etc. for changes when they don't exist.
return "0"; //avoid negative zero (-0) being written, which may annoy git, svn, etc. for changes when they don't exist.
else
return rtoss(p_value);
}