From c230e8002d555ff53217238135dcfa6dac200b2a Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Thu, 7 Apr 2016 08:33:49 +0200 Subject: [PATCH] LP-29 update GeoTransform position when scene or clamping changed --- ground/gcs/src/libs/osgearth/osgQtQuick/OSGGeoTransformNode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ground/gcs/src/libs/osgearth/osgQtQuick/OSGGeoTransformNode.cpp b/ground/gcs/src/libs/osgearth/osgQtQuick/OSGGeoTransformNode.cpp index 3dce7f7dc..4ddfea65d 100644 --- a/ground/gcs/src/libs/osgearth/osgQtQuick/OSGGeoTransformNode.cpp +++ b/ground/gcs/src/libs/osgearth/osgQtQuick/OSGGeoTransformNode.cpp @@ -225,7 +225,7 @@ void OSGGeoTransformNode::updateNode() if (isDirty(Clamp)) { // do nothing... } - if (isDirty(Position)) { + if (isDirty(Scene | Clamp | Position)) { h->updatePosition(); } }