mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-03 11:21:52 +02:00
[ui] Viewer2D: handle special case of 8bit viewer for metadata
This commit is contained in:
parent
748512f38a
commit
571ef22b9d
1 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,10 @@ FocusScope {
|
||||||
if (floatImageViewerLoader.active) {
|
if (floatImageViewerLoader.active) {
|
||||||
return floatImageViewerLoader.item.metadata;
|
return floatImageViewerLoader.item.metadata;
|
||||||
}
|
}
|
||||||
|
// Use viewpoint metadata for the special case of the 8-bit viewer
|
||||||
|
if (qtImageViewerLoader.active) {
|
||||||
|
return viewpointMetadata;
|
||||||
|
}
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue