Fixed sample count when using branched path tracing
Thanks to dr. Sharybin for the patch.
This commit is contained in:
parent
843667e612
commit
5026dfc441
@ -162,7 +162,11 @@ class FLAMENCO_OT_render(async_loop.AsyncModalOperatorMixin,
|
|||||||
|
|
||||||
# Add extra settings specific to the job type
|
# Add extra settings specific to the job type
|
||||||
if scene.flamenco_render_job_type == 'blender-render-progressive':
|
if scene.flamenco_render_job_type == 'blender-render-progressive':
|
||||||
|
if scene.cycles.progressive == 'BRANCHED_PATH':
|
||||||
|
samples = scene.cycles.aa_samples
|
||||||
|
else:
|
||||||
samples = scene.cycles.samples
|
samples = scene.cycles.samples
|
||||||
|
|
||||||
if scene.cycles.use_square_samples:
|
if scene.cycles.use_square_samples:
|
||||||
samples **= 2
|
samples **= 2
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user