forked from bartvdbraak/blender
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.
This commit is contained in:
parent
deb64cc37c
commit
c43c38140d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user