mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
[ui] ImageGallery: fix the DB path in the "Edit Sensor Database" dialog
The output of "cameraInit.attribute("sensorDatabase").value" is the unresolved ${ALICEVISION_SENSOR_DB} environment variable. To get the path, the variable needs to be evaluated.
This commit is contained in:
parent
27ce3df5cb
commit
04bd976387
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ Panel {
|
||||||
|
|
||||||
SensorDBDialog {
|
SensorDBDialog {
|
||||||
id: sensorDBDialog
|
id: sensorDBDialog
|
||||||
sensorDatabase: cameraInit ? Filepath.stringToUrl(cameraInit.attribute("sensorDatabase").value) : ""
|
sensorDatabase: cameraInit ? Filepath.stringToUrl(cameraInit.attribute("sensorDatabase").evalValue) : ""
|
||||||
readOnly: _reconstruction ? _reconstruction.computing : false
|
readOnly: _reconstruction ? _reconstruction.computing : false
|
||||||
onUpdateIntrinsicsRequest: _reconstruction.rebuildIntrinsics(cameraInit)
|
onUpdateIntrinsicsRequest: _reconstruction.rebuildIntrinsics(cameraInit)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue