--- blender-20080405/source/blender/yafray/intern/export_Plugin.cpp.yafsafe 2008-04-05 16:10:21.000000000 +0200 +++ blender-20080405/source/blender/yafray/intern/export_Plugin.cpp 2008-04-05 16:12:00.000000000 +0200 @@ -192,7 +192,7 @@ cerr << "Error loading yafray plugin: " << PIL_dynlib_get_error_as_string(handle) << endl; return false; } - yafrayGate = constructor(re->r.threads, YafrayPluginPath()); + yafrayGate = constructor(re->r.threads < 1 ? 1 : re->r.threads, YafrayPluginPath()); cout << "YafRay plugin loaded" << endl; plugin_loaded = true;