mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-03 19:31:58 +02:00
[Viewer] Prevent accessing null objects
This commit is contained in:
parent
4eac23a52d
commit
422d9da48c
2 changed files with 8 additions and 7 deletions
|
@ -460,7 +460,7 @@ FocusScope {
|
|||
'isHighlightable': Qt.binding(function(){ return panoramaViewerToolbar.enableHover;}),
|
||||
'displayGridPano': Qt.binding(function(){ return panoramaViewerToolbar.displayGrid;}),
|
||||
'mouseMultiplier': Qt.binding(function(){ return panoramaViewerToolbar.mouseSpeed;}),
|
||||
'msfmData': Qt.binding(function() { return (msfmDataLoader.status === Loader.Ready
|
||||
'msfmData': Qt.binding(function() { return (msfmDataLoader && msfmDataLoader.item && msfmDataLoader.status === Loader.Ready
|
||||
&& msfmDataLoader.item.status === 2) ? msfmDataLoader.item : null; }),
|
||||
})
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue