[ui] load 3D depth map: custom label in 3D inspector

This commit is contained in:
Loïc Vital 2022-12-20 12:31:36 +01:00
parent 125fa8ca17
commit 935a8a2568
4 changed files with 11 additions and 9 deletions

View file

@ -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);
}
}