fixed BUG-86 - last places changed from locn to tmp_locn
This commit is contained in:
@@ -41,8 +41,8 @@
|
||||
{% for face in objs[id].file_details.faces %}
|
||||
data = {
|
||||
'id': '{{face.id}}',
|
||||
'x': '{{face.locn[3]}}', 'y': '{{face.locn[0]}}',
|
||||
'w': '{{face.locn[1]-face.locn[3]}}', 'h':'{{face.locn[2]-face.locn[0]}}'
|
||||
'x': '{{face.tmp_locn[3]}}', 'y': '{{face.tmp_locn[0]}}',
|
||||
'w': '{{face.tmp_locn[1]-face.tmp_locn[3]}}', 'h':'{{face.tmp_locn[2]-face.tmp_locn[0]}}'
|
||||
}
|
||||
{% if face.refimg %}
|
||||
data['who']='{{face.refimg.person.tag}}'
|
||||
|
||||
Reference in New Issue
Block a user