Flamenco: disallow progressive rendering unless Cycles is used
This commit is contained in:
parent
b5619757bc
commit
924fb45cb2
@ -869,6 +869,11 @@ class FLAMENCO_PT_render(bpy.types.Panel, FlamencoPollMixin):
|
|||||||
# be used to submit a job to farm running Blender 2.80.
|
# be used to submit a job to farm running Blender 2.80.
|
||||||
return
|
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')
|
box.prop(context.scene, 'flamenco_render_chunk_sample_cap')
|
||||||
|
|
||||||
sample_count = scene_sample_count(context.scene)
|
sample_count = scene_sample_count(context.scene)
|
||||||
|
Reference in New Issue
Block a user