Flamenco: disallow progressive rendering unless Cycles is used

This commit is contained in:
Sybren A. Stüvel 2019-01-30 16:04:31 +01:00
parent b5619757bc
commit 924fb45cb2

View File

@ -869,6 +869,11 @@ class FLAMENCO_PT_render(bpy.types.Panel, FlamencoPollMixin):
# be used to submit a job to farm running Blender 2.80.
return
if context.scene.render.engine != 'CYCLES':
box.alert = True
box.label(text='Progressive rendering requires Cycles', icon='ERROR')
return
box.prop(context.scene, 'flamenco_render_chunk_sample_cap')
sample_count = scene_sample_count(context.scene)