Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/yafray/intern/export_Plugin.cpp2
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