mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-31 09:56:32 +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) {
|
||||
return floatImageViewerLoader.item.metadata;
|
||||
}
|
||||
// Use viewpoint metadata for the special case of the 8-bit viewer
|
||||
if (qtImageViewerLoader.active) {
|
||||
return viewpointMetadata;
|
||||
}
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue