summarylogtreecommitdiffstats
path: root/pluginpath.diff
diff options
context:
space:
mode:
Diffstat (limited to 'pluginpath.diff')
-rw-r--r--pluginpath.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/pluginpath.diff b/pluginpath.diff
new file mode 100644
index 000000000000..b8f913f4e33e
--- /dev/null
+++ b/pluginpath.diff
@@ -0,0 +1,20 @@
+diff --git a/src/yafraycore/environment.cc b/src/yafraycore/environment.cc
+index fdf1c7c..69cb247 100755
+--- a/src/yafraycore/environment.cc
++++ b/src/yafraycore/environment.cc
+@@ -137,13 +137,8 @@ void renderEnvironment_t::loadPlugins(const std::string &path)
+
+ bool renderEnvironment_t::getPluginPath(std::string &path)
+ {
+- //Get plugin path from a subfolder of the current yafaray_xml executable file path
+- if(!session.getPathYafaRayXml().empty())
+- {
+- path = session.getPathYafaRayXml()+"/plugins/";
+- return true;
+- }
+- else return false;
++ path = "/usr/lib/yafaray/";
++ return true;
+ }
+
+