Cycles Standalone: Use progressive refine in background mode too.
This is only a workaround, with tiled rendering the image output has a wrong aspect ratio. (squashed image)
This commit is contained in:
@@ -371,15 +371,13 @@ static void options_parse(int argc, const char **argv)
|
|||||||
else if(ssname == "svm")
|
else if(ssname == "svm")
|
||||||
options.scene_params.shadingsystem = SceneParams::SVM;
|
options.scene_params.shadingsystem = SceneParams::SVM;
|
||||||
|
|
||||||
#ifdef WITH_CYCLES_STANDALONE_GUI
|
#ifndef WITH_CYCLES_STANDALONE_GUI
|
||||||
/* Progressive rendering for GUI */
|
|
||||||
if(!options.session_params.background)
|
|
||||||
options.session_params.progressive = true;
|
|
||||||
#else
|
|
||||||
/* When building without GUI, set background */
|
|
||||||
options.session_params.background = true;
|
options.session_params.background = true;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Use progressive rendering */
|
||||||
|
options.session_params.progressive = true;
|
||||||
|
|
||||||
/* find matching device */
|
/* find matching device */
|
||||||
DeviceType device_type = Device::type_from_string(devicename.c_str());
|
DeviceType device_type = Device::type_from_string(devicename.c_str());
|
||||||
vector<DeviceInfo>& devices = Device::available_devices();
|
vector<DeviceInfo>& devices = Device::available_devices();
|
||||||
|
Reference in New Issue
Block a user