cache frame width/height in db

This commit is contained in:
j 2014-09-28 10:16:25 +00:00
commit 76bbe09a05
3 changed files with 193 additions and 7 deletions

View file

@ -1383,8 +1383,8 @@ class Item(models.Model):
frames.append({
'position': offset + ff.position,
'path': ff.frame.path,
'width': ff.frame.width,
'height': ff.frame.height
'width': ff.width,
'height': ff.height
})
offset += f.duration
else: