Skip to content

Commit f682ebb

Browse files
committed
Server: log resolved reference faces upon initialization
1 parent 5f24a4e commit f682ebb

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

server/source/DLIBWorker/DLIBWorker.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,11 +338,16 @@ void DLIBWorker::setupReference(const QVector<QPair<QString, QString>>& list)
338338
{
339339
for(const auto& it : list)
340340
{
341-
const auto& faces = findFaces(it.second);
341+
const auto filename = it.second;
342+
343+
const auto& faces = findFaces(filename);
342344

343345
for (const auto& it2 : faces)
344346
{
345-
referenceFaces.push_back(make_tuple(it.first, rectangle(), get<2>(it2)));
347+
const auto tag = it.first;
348+
349+
emit log(QString("Resolved reference face with tag '%1' from the file '%2'!").arg(tag).arg(filename));
350+
referenceFaces.push_back(make_tuple(tag, rectangle(), get<2>(it2)));
346351
}
347352
}
348353
}

0 commit comments

Comments
 (0)