Fix Cycles OSL compilation based on modified time not working.
This commit is contained in:
parent
69288737ca
commit
b5a58507f2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue