Fix Cycles OSL compilation based on modified time not working.

This commit is contained in:
Brecht Van Lommel 2016-11-12 17:20:40 +01:00
parent 69288737ca
commit b5a58507f2
1 changed files with 2 additions and 2 deletions

View File

@ -757,9 +757,9 @@ uint64_t path_modified_time(const string& path)
{
path_stat_t st;
if(path_stat(path, &st) != 0) {
return st.st_mtime;
return 0;
}
return 0;
return st.st_mtime;
}
bool path_remove(const string& path)