delay layer flag
This commit is contained in:
parent
798a56af73
commit
f8f500e8c6
1 changed files with 3 additions and 2 deletions
|
@ -30,6 +30,7 @@ class MetaClip:
|
||||||
streams = self.item.streams()
|
streams = self.item.streams()
|
||||||
if streams:
|
if streams:
|
||||||
self.aspect_ratio = streams[0].aspect_ratio
|
self.aspect_ratio = streams[0].aspect_ratio
|
||||||
|
if self.id:
|
||||||
for l in self.layers:
|
for l in self.layers:
|
||||||
setattr(self, l, self.annotations.filter(layer=l).count()>0)
|
setattr(self, l, self.annotations.filter(layer=l).count()>0)
|
||||||
models.Model.save(self, *args, **kwargs)
|
models.Model.save(self, *args, **kwargs)
|
||||||
|
|
Loading…
Reference in a new issue