1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

LP-29 update GeoTransform position when scene or clamping changed

This commit is contained in:
Philippe Renon 2016-04-07 08:33:49 +02:00
parent 54f0ac2410
commit c230e8002d

View File

@ -225,7 +225,7 @@ void OSGGeoTransformNode::updateNode()
if (isDirty(Clamp)) { if (isDirty(Clamp)) {
// do nothing... // do nothing...
} }
if (isDirty(Position)) { if (isDirty(Scene | Clamp | Position)) {
h->updatePosition(); h->updatePosition();
} }
} }