Changed reload logic to auto-hard-reload scripts on save. It's simpler to use and also fixes #4756
This commit is contained in:
parent
910151a361
commit
45443a1651
5 changed files with 29 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue