mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 16:58:24 +02:00
[ui] Viewer2D: minor warning fixes
This commit is contained in:
parent
18ab1d1793
commit
9bcad1ca4a
1 changed files with 3 additions and 2 deletions
|
@ -179,8 +179,8 @@ FocusScope {
|
|||
// show which depthmap node is active
|
||||
Label {
|
||||
id: depthMapNodeName
|
||||
visible: imageType.type != "image"
|
||||
text: _reconstruction.depthMap.label
|
||||
visible: (_reconstruction.depthMap != undefined) && (imageType.type != "image")
|
||||
text: (_reconstruction.depthMap != undefined ? _reconstruction.depthMap.label : "")
|
||||
font.pointSize: 8
|
||||
|
||||
horizontalAlignment: TextInput.AlignLeft
|
||||
|
@ -264,6 +264,7 @@ FocusScope {
|
|||
property string type: types[currentIndex]
|
||||
|
||||
model: types
|
||||
enabled: _reconstruction.depthMap != undefined
|
||||
}
|
||||
|
||||
MaterialToolButton {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue