Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alicevision/meshroom.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Vital <mugulmotion@gmail.com>2022-10-10 12:31:01 +0300
committerFabien Castan <fabcastan@gmail.com>2022-10-19 11:50:25 +0300
commit61a10a215e63fe81c4233439448f9717d668942a (patch)
treea1b00c634e75d5ebc912f10ec8179f098f14e0cd
parent426cdbe50b7ca64488dc28b0617e1e31712fbac0 (diff)
[ui] fix metadata display bug
-rw-r--r--meshroom/ui/qml/Viewer/Viewer2D.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/meshroom/ui/qml/Viewer/Viewer2D.qml b/meshroom/ui/qml/Viewer/Viewer2D.qml
index abe2f8f1..b407199a 100644
--- a/meshroom/ui/qml/Viewer/Viewer2D.qml
+++ b/meshroom/ui/qml/Viewer/Viewer2D.qml
@@ -246,7 +246,7 @@ FocusScope {
for (var i = 0; i < _reconstruction.viewpoints.count; i++) {
var vp = _reconstruction.viewpoints.at(i);
if (vp.childAttribute("viewId").value == viewId) {
- return vp.childAttribute("metadata").value;
+ return JSON.parse(vp.childAttribute("metadata").value);
}
}
return {};