Some code unindentation

This commit is contained in:
Sybren A. Stüvel 2018-03-16 12:40:05 +01:00
parent 5f58f8b6f7
commit 1d81f4bc38

View File

@ -675,7 +675,8 @@ class FLAMENCO_PT_render(bpy.types.Panel, FlamencoPollMixin):
render_output = render_output_path(context) render_output = render_output_path(context)
if render_output is None: if render_output is None:
paths_layout.label('Unable to render with Flamenco, outside of project directory.') paths_layout.label('Unable to render with Flamenco, outside of project directory.')
else: return
labeled_row = paths_layout.split(0.25, align=True) labeled_row = paths_layout.split(0.25, align=True)
labeled_row.label('Output:') labeled_row.label('Output:')
prop_btn_row = labeled_row.row(align=True) prop_btn_row = labeled_row.row(align=True)
@ -699,6 +700,7 @@ class FLAMENCO_PT_render(bpy.types.Panel, FlamencoPollMixin):
labeled_row.label('Effective Output Path:') labeled_row.label('Effective Output Path:')
labeled_row.label(str(render_output)) labeled_row.label(str(render_output))
# Show current status of Flamenco.
flamenco_status = context.window_manager.flamenco_status flamenco_status = context.window_manager.flamenco_status
if flamenco_status in {'IDLE', 'ABORTED', 'DONE'}: if flamenco_status in {'IDLE', 'ABORTED', 'DONE'}:
layout.operator(FLAMENCO_OT_render.bl_idname, layout.operator(FLAMENCO_OT_render.bl_idname,