mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
LP-32 add warning when no map node in geo transform node
This commit is contained in:
parent
4cc1d0cb15
commit
5b8ed2a044
@ -123,6 +123,7 @@ public:
|
||||
if (mapNode) {
|
||||
geoPoint = osgQtQuick::toGeoPoint(mapNode->getTerrain()->getSRS(), position);
|
||||
} else {
|
||||
qWarning() << "OSGGeoTransformNode::onChildNodeChanged - no map node";
|
||||
geoPoint = osgQtQuick::toGeoPoint(position);
|
||||
}
|
||||
if (clampToTerrain && mapNode) {
|
||||
|
Loading…
Reference in New Issue
Block a user