diff options
-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 |