Flamenco: disallow progressive rendering on Blender < 2.80
Rendering ranges of sample chunks only works reliably for us after Blender commit 7744203b7fde35a074faf232dda3595b78c5f14c (Tue Jan 29 18:08:12 2019 +0100).
This commit is contained in:
parent
ae41745743
commit
b5619757bc
@ -860,6 +860,15 @@ class FLAMENCO_PT_render(bpy.types.Panel, FlamencoPollMixin):
|
|||||||
# Job-type-specific options go directly below the job type selector.
|
# Job-type-specific options go directly below the job type selector.
|
||||||
if getattr(context.scene, 'flamenco_render_job_type', None) == 'blender-render-progressive':
|
if getattr(context.scene, 'flamenco_render_job_type', None) == 'blender-render-progressive':
|
||||||
box = layout.box()
|
box = layout.box()
|
||||||
|
|
||||||
|
if bpy.app.version < (2, 80):
|
||||||
|
box.alert = True
|
||||||
|
box.label(text='Progressive rendering requires Blender 2.80 or newer.',
|
||||||
|
icon='ERROR')
|
||||||
|
# This isn't entirely fair, as Blender 2.79 could hypothetically
|
||||||
|
# be used to submit a job to farm running Blender 2.80.
|
||||||
|
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