cache frame width/height in db
This commit is contained in:
parent
4f9ed09ca1
commit
76bbe09a05
3 changed files with 193 additions and 7 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue