Commit 0fdd058011e16374b8532adf9149b2fdf4ec9e6a
1 parent
d0f18597
JustTransform _Points special case
Showing
1 changed file
with
5 additions
and
1 deletions
openbr/plugins/metadata/savemat.cpp
| ... | ... | @@ -59,7 +59,11 @@ class JustTransform : public UntrainableMetaTransform |
| 59 | 59 | Template tmp; |
| 60 | 60 | transform->project(src, tmp); |
| 61 | 61 | foreach (const QString &key, keys) |
| 62 | - dst.file.set(key, tmp.file.value(key)); | |
| 62 | + if (key == "_Points") { | |
| 63 | + dst.file.setPoints(tmp.file.points()); | |
| 64 | + } else { | |
| 65 | + dst.file.set(key, tmp.file.value(key)); | |
| 66 | + } | |
| 63 | 67 | } |
| 64 | 68 | }; |
| 65 | 69 | ... | ... |