mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-04 11:51:58 +02:00
[ui] load 3D depth map: custom label in 3D inspector
This commit is contained in:
parent
125fa8ca17
commit
935a8a2568
4 changed files with 11 additions and 9 deletions
|
@ -30,9 +30,9 @@ Item {
|
|||
|
||||
|
||||
// Load a 3D media file in the 3D viewer
|
||||
function load3DMedia(filepath) {
|
||||
function load3DMedia(filepath, label = undefined) {
|
||||
if(panel3dViewerLoader.active) {
|
||||
panel3dViewerLoader.item.viewer3D.load(filepath);
|
||||
panel3dViewerLoader.item.viewer3D.load(filepath, label);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue