diff options
author | Alejandro Conty Estevez <conty@yafray.org> | 2004-12-23 01:38:06 +0300 |
---|---|---|
committer | Alejandro Conty Estevez <conty@yafray.org> | 2004-12-23 01:38:06 +0300 |
commit | c43c38140d59e9204d55a62c87e0b701f50f2538 (patch) | |
tree | c006b1fbf2d7131ac11e544fdf5b34b0248bd4c1 /source/blender/yafray/intern/export_Plugin.cpp | |
parent | deb64cc37ce06a44db26ef890da3e0a9a2c70514 (diff) |
Multi-cpu support in yafray is back. This is a small fix to pass the
number of processors to yafray through plugin too. Will work with current
CVS yafray code. Now at p.b.org. Needs testing with a real multicpu machine.
Diffstat (limited to 'source/blender/yafray/intern/export_Plugin.cpp')
-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 55e95c9d08b..9310abfa4d6 100644 --- a/source/blender/yafray/intern/export_Plugin.cpp +++ b/source/blender/yafray/intern/export_Plugin.cpp @@ -183,7 +183,7 @@ bool yafrayPluginRender_t::initExport() cerr << "Error loading yafray plugin: " << PIL_dynlib_get_error_as_string(handle) << endl; return false; } - yafrayGate = constructor(1, YafrayPluginPath()); + yafrayGate = constructor(R.r.YF_numprocs, YafrayPluginPath()); cout << "YafRay plugin loaded" << endl; plugin_loaded = true; |