Generalised saving/loading of project+manager-specific settings + added one

Added the `flamenco_exclude_filter` setting to the set, and also made it
easier to add new settings too.
This commit is contained in:
2018-11-16 17:12:30 +01:00
parent 564c2589b1
commit 85f911cb59
2 changed files with 15 additions and 6 deletions

View File

@@ -84,9 +84,10 @@ def manager_updated(self: 'FlamencoManagerGroup', context):
return
with project_specific.mark_as_loading():
prefs.flamenco_job_file_path = pppm['file_path']
prefs.flamenco_job_output_path = pppm['output_path']
prefs.flamenco_job_output_strip_components = pppm['output_strip_components']
for name in project_specific.FLAMENCO_PER_PROJECT_PER_MANAGER:
if name not in pppm:
continue
setattr(prefs, name, pppm[name])
class FlamencoManagerGroup(PropertyGroup):