Open webbrowser after submitting a Flamenco job

This can be disabled in the add-on preferences.
This commit is contained in:
2017-01-24 15:14:43 +01:00
parent 60018cd78c
commit 95699aca36
2 changed files with 15 additions and 0 deletions

View File

@@ -200,6 +200,11 @@ class BlenderCloudPreferences(AddonPreferences):
default=0,
soft_max=4,
)
flamenco_open_browser_after_submit = BoolProperty(
name='Open Browser after Submitting Job',
description='When enabled, Blender will open a webbrowser',
default=True
)
def draw(self, context):
import textwrap
@@ -389,6 +394,8 @@ class BlenderCloudPreferences(AddonPreferences):
props = path_box.operator('flamenco.explore_file_path', text='', icon='DISK_DRIVE')
props.path = str(output_path.parent)
flamenco_box.prop(self, 'flamenco_open_browser_after_submit')
# TODO: make a reusable way to select projects, and use that for Attract and Flamenco.
note_box = flamenco_box.column(align=True)
note_box.label('NOTE: For now, Flamenco uses the same project as Attract.')