Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
96fc6a8c
Commit
96fc6a8c
authored
Mar 16, 2018
by
Andreas Bircher
Browse files
download fix
parent
c4095430
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Terrain.cc
View file @
96fc6a8c
...
...
@@ -38,6 +38,7 @@ void TerrainBatchManager::addQuery(ElevationProvider* elevationProvider, const Q
if
(
!
_getAltitudesForCoordinates
(
coordinates
,
altitudes
))
{
QueuedRequestInfo_t
queuedRequestInfo
=
{
elevationProvider
,
coordinates
};
_requestQueue
.
append
(
queuedRequestInfo
);
return
;
}
qCDebug
(
ElevationProviderLog
)
<<
"All altitudes taken from cached data"
;
...
...
@@ -100,6 +101,7 @@ void TerrainBatchManager::_tileFailed(void)
void
TerrainBatchManager
::
_fetchedTile
()
{
QGeoTiledMapReplyQGC
*
reply
=
qobject_cast
<
QGeoTiledMapReplyQGC
*>
(
QObject
::
sender
());
_state
=
State
::
Idle
;
if
(
!
reply
)
{
qCDebug
(
ElevationProviderLog
)
<<
"Elevation tile fetched but invalid reply data type."
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment