mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +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
|
// show which depthmap node is active
|
||||||
Label {
|
Label {
|
||||||
id: depthMapNodeName
|
id: depthMapNodeName
|
||||||
visible: imageType.type != "image"
|
visible: (_reconstruction.depthMap != undefined) && (imageType.type != "image")
|
||||||
text: _reconstruction.depthMap.label
|
text: (_reconstruction.depthMap != undefined ? _reconstruction.depthMap.label : "")
|
||||||
font.pointSize: 8
|
font.pointSize: 8
|
||||||
|
|
||||||
horizontalAlignment: TextInput.AlignLeft
|
horizontalAlignment: TextInput.AlignLeft
|
||||||
|
@ -264,6 +264,7 @@ FocusScope {
|
||||||
property string type: types[currentIndex]
|
property string type: types[currentIndex]
|
||||||
|
|
||||||
model: types
|
model: types
|
||||||
|
enabled: _reconstruction.depthMap != undefined
|
||||||
}
|
}
|
||||||
|
|
||||||
MaterialToolButton {
|
MaterialToolButton {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue