Merge pull request #1852 from alicevision/mug/improveLoadDepthMap3D

[ui] Load 3D Depth Map: minor improvements
This commit is contained in:
Fabien Castan 2023-01-04 12:28:17 +01:00 committed by GitHub
commit 27ce3df5cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 12 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);
}
}