Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/blender_sync.cpp
| Show First 20 Lines • Show All 853 Lines • ▼ Show 20 Lines | else { | ||||
| * extra thoughts and input. */ | * extra thoughts and input. */ | ||||
| params.time_limit = 0.0; | params.time_limit = 0.0; | ||||
| } | } | ||||
| /* Profiling. */ | /* Profiling. */ | ||||
| params.use_profiling = params.device.has_profiling && !b_engine.is_preview() && background && | params.use_profiling = params.device.has_profiling && !b_engine.is_preview() && background && | ||||
| BlenderSession::print_render_stats; | BlenderSession::print_render_stats; | ||||
| if (background) { | |||||
| params.use_auto_tile = RNA_boolean_get(&cscene, "use_auto_tile"); | |||||
| params.tile_size = get_int(cscene, "tile_size"); | |||||
| } | |||||
| else { | |||||
| params.use_auto_tile = false; | |||||
| } | |||||
| return params; | return params; | ||||
| } | } | ||||
| DenoiseParams BlenderSync::get_denoise_params(BL::Scene &b_scene, | DenoiseParams BlenderSync::get_denoise_params(BL::Scene &b_scene, | ||||
| BL::ViewLayer &b_view_layer, | BL::ViewLayer &b_view_layer, | ||||
| bool background) | bool background) | ||||
| { | { | ||||
| enum DenoiserInput { | enum DenoiserInput { | ||||
| ▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines | |||||