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:
authorAlejandro Conty Estevez <conty@yafray.org>2004-11-07 16:22:20 +0300
committerAlejandro Conty Estevez <conty@yafray.org>2004-11-07 16:22:20 +0300
commit8226f8a0b21f7045ca7023b59c6175c2b2c5b2dd (patch)
tree2701082754440d4b59649d3eb39fca0d21d7cbc3 /source/blender/yafray
parent88534ee519f9e712839a876bb0b13165ec83904a (diff)
Fixed execution bit test for yafray plugin loading under unix.
Now, it just tests for read permissions.
Diffstat (limited to 'source/blender/yafray')
-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