Commit 029c6ac4 authored by Gus Grubba's avatar Gus Grubba

Merge branch 'master' of https://github.com/mavlink/qgroundcontrol into autoDiscovery

parents ba1378fa 733a6996
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"min": 0.1, "min": 0.1,
"units": "m", "units": "m",
"decimalPlaces": 2, "decimalPlaces": 2,
"defaultValue": 10.0 "defaultValue": 50.0
}, },
{ {
"name": "ImageDensity", "name": "ImageDensity",
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
"min": 0, "min": 0,
"units": "cm/px", "units": "cm/px",
"decimalPlaces": 1, "decimalPlaces": 1,
"defaultValue": 25 "defaultValue": 1.2
}, },
{ {
"name": "FrontalOverlap", "name": "FrontalOverlap",
......
...@@ -127,8 +127,8 @@ void CameraCalc::_cameraNameChanged(void) ...@@ -127,8 +127,8 @@ void CameraCalc::_cameraNameChanged(void)
// These values are unknown for these types // These values are unknown for these types
fixedOrientation()->setRawValue(false); fixedOrientation()->setRawValue(false);
minTriggerInterval()->setRawValue(0); minTriggerInterval()->setRawValue(0);
if (isManualCamera()) { if (isManualCamera() && !valueSetIsDistance()->rawValue().toBool()) {
valueSetIsDistance()->setRawValue(false); valueSetIsDistance()->setRawValue(true);
} }
} else { } else {
qWarning() << "Internal Error: Not known camera, but now manual or custom either"; qWarning() << "Internal Error: Not known camera, but now manual or custom either";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment