]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/sample_group.cxx
small fixes
[simgear.git] / simgear / sound / sample_group.cxx
index c10d2dcefa6eeea4d518f41897fb1c8f228d5cc4..539ab61bfa233eb2fb67155ff64d93c7ce93cd81 100644 (file)
@@ -114,7 +114,7 @@ void SGSampleGroup::update( double dt ) {
     }
 
     // Update the position and orientation information for all samples.
-    if ( _changed ) {
+    if ( _changed || _smgr->has_changed() ) {
         update_pos_and_orientation();
         _changed = false;
     }