mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 18:27:23 +02:00
[ui] Don't load node's output in the 3DViewer if it has no 3D output
This commit is contained in:
parent
c02aa1f229
commit
0aba9a053f
1 changed files with 1 additions and 1 deletions
|
@ -995,7 +995,7 @@ ApplicationWindow {
|
||||||
}
|
}
|
||||||
|
|
||||||
function viewIn3D(attribute, mouse) {
|
function viewIn3D(attribute, mouse) {
|
||||||
if(!panel3dViewer)
|
if(!panel3dViewer || !attribute.node.has3DOutput)
|
||||||
return false;
|
return false;
|
||||||
var loaded = panel3dViewer.viewer3D.view(attribute);
|
var loaded = panel3dViewer.viewer3D.view(attribute);
|
||||||
// solo media if Control modifier was held
|
// solo media if Control modifier was held
|
||||||
|
|
Loading…
Add table
Reference in a new issue