diff --git a/pype/ftrack/lib/avalon_sync.py b/pype/ftrack/lib/avalon_sync.py index 346bdceeb9..4b058fa3c3 100644 --- a/pype/ftrack/lib/avalon_sync.py +++ b/pype/ftrack/lib/avalon_sync.py @@ -114,6 +114,18 @@ def import_to_avalon( output['errors'] = errors return output + else: + # not override existing templates! + templates = av_project['config'].get('template', None) + if templates is not None: + for key, value in config['template'].items(): + if ( + key in templates and + templates[key] is not None and + templates[key] != value + ): + config['template'][key] = templates[key] + projectId = av_project['_id'] data = get_data(