diff options
author | Alejandro Conty Estevez <conty@yafray.org> | 2004-11-07 16:22:20 +0300 |
---|---|---|
committer | Alejandro Conty Estevez <conty@yafray.org> | 2004-11-07 16:22:20 +0300 |
commit | 8226f8a0b21f7045ca7023b59c6175c2b2c5b2dd (patch) | |
tree | 2701082754440d4b59649d3eb39fca0d21d7cbc3 /source/blender | |
parent | 88534ee519f9e712839a876bb0b13165ec83904a (diff) |
Fixed execution bit test for yafray plugin loading under unix.
Now, it just tests for read permissions.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/yafray/intern/export_Plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/yafray/intern/export_Plugin.cpp b/source/blender/yafray/intern/export_Plugin.cpp index 40e87d3856f..94afe696a3b 100644 --- a/source/blender/yafray/intern/export_Plugin.cpp +++ b/source/blender/yafray/intern/export_Plugin.cpp @@ -108,7 +108,7 @@ static string YafrayPath() string fp=string(alternative[i])+"libyafrayplugin.so"; struct stat st; if(stat(fp.c_str(),&st)<0) continue; - if(st.st_mode&S_IXOTH) return fp; + if(st.st_mode&S_IROTH) return fp; } return ""; #endif |