We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8ce864 commit 9b862bcCopy full SHA for 9b862bc
1 file changed
src/qt-mbgrdviz/main.qml
@@ -276,6 +276,11 @@ Window {
276
anchors.fill: parent
277
anchors.margins: 10
278
279
+ lightsEnabled.onCheckedChanged: {
280
+ console.log('Lights checked: ', settings3D.checked)
281
+ updateLighting()
282
+ }
283
+
284
intensity.onMoved: {
285
updateLighting()
286
}
@@ -311,7 +316,8 @@ Window {
311
316
console.log('settings3dDialog=', settings3dDialog)
312
317
console.log('settings3D=', settings3D)
313
318
314
- topoDataItem.setLight(settings3D.intensity.value,
319
+ topoDataItem.setLight(settings3D.lightsEnabled.checked,
320
+ settings3D.intensity.value,
315
321
settings3D.lightX.value,
322
settings3D.lightY.value, settings3D.lightZ.value)
323
0 commit comments