From ec92b9c41adc5aef69363e970ce15aea77741a49 Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Sun, 20 Mar 2016 21:22:56 +0100 Subject: [PATCH] LP-29 make some PfdTerrainView properties read only --- ground/gcs/src/share/qml/pfd/PfdTerrainView.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ground/gcs/src/share/qml/pfd/PfdTerrainView.qml b/ground/gcs/src/share/qml/pfd/PfdTerrainView.qml index 3ca04f9c5..2d42fa8cb 100644 --- a/ground/gcs/src/share/qml/pfd/PfdTerrainView.qml +++ b/ground/gcs/src/share/qml/pfd/PfdTerrainView.qml @@ -35,10 +35,10 @@ OSGViewport { camera: camera manipulator: geoTransformManipulator - property real horizontCenter : horizontCenterItem.horizontCenter + readonly property real horizontCenter : horizontCenterItem.horizontCenter - // Factor for OSGview vertical offset - property double factor: 0.04 + // Factor for OSGViewer vertical offset + readonly property double factor: 0.04 // Stretch height and apply offset //height: height * (1 + factor) -- 2.11.4.GIT