fold clips

This commit is contained in:
j 2017-01-20 13:00:04 +01:00
parent e6d21ef0a7
commit bfcf25e240

View file

@ -189,6 +189,9 @@ class ClipManager(Manager):
user)
if conditions:
qs = qs.filter(conditions)
qs = qs.distinct()
if 'keys' in data:
layer_ids = [k['id'] for k in settings.CONFIG['layers']]
for l in filter(lambda k: k in layer_ids, data['keys']):