diff options
author | Alejandro Conty Estevez <conty@yafray.org> | 2004-01-29 11:46:08 +0300 |
---|---|---|
committer | Alejandro Conty Estevez <conty@yafray.org> | 2004-01-29 11:46:08 +0300 |
commit | c28a1b58171e20d619e32c918a0ab2586f818e85 (patch) | |
tree | 9bf85b5fa764adb9d7723c711eced35bef6e3408 /source/blender/yafray | |
parent | aea517832bcb9cd1c48cc1ac96f7bb53f53749fe (diff) |
Fixed problem reported by Panagiotis Papadakos about yafray path in unix
Diffstat (limited to 'source/blender/yafray')
-rwxr-xr-x | source/blender/yafray/intern/export_File.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/yafray/intern/export_File.cpp b/source/blender/yafray/intern/export_File.cpp index f93212e3188..a8eadffd024 100755 --- a/source/blender/yafray/intern/export_File.cpp +++ b/source/blender/yafray/intern/export_File.cpp @@ -91,7 +91,7 @@ static string unixYafrayPath() { string fp=string(alternative[i])+"yafray"; struct stat st; - if(stat(alternative[i],&st)<0) continue; + if(stat(fp.c_str(),&st)<0) continue; if(st.st_mode&S_IXOTH) return alternative[i]; } return ""; |