diff --git a/openbr/openbr_plugin.cpp b/openbr/openbr_plugin.cpp index 44c94a3..5ba7b7c 100644 --- a/openbr/openbr_plugin.cpp +++ b/openbr/openbr_plugin.cpp @@ -81,8 +81,10 @@ QString File::hash() const void File::append(const QVariantMap &metadata) { - foreach (const QString &key, metadata.keys()) - set(key, metadata[key]); + foreach (const QString &key, metadata.keys()) { + if (key != "Points" && key != "Rects") + set(key, metadata[key]); + } } void File::append(const File &other) @@ -96,6 +98,8 @@ void File::append(const File &other) } } append(other.m_metadata); + appendPoints(other.points()); + appendRects(other.rects()); } QList File::split() const