]> git.mxchange.org Git - simgear.git/commitdiff
sooner than planned: fix "scale" animation offsets (1 -> 0)
authormfranz <mfranz>
Sun, 17 Jun 2007 21:01:40 +0000 (21:01 +0000)
committermfranz <mfranz>
Sun, 17 Jun 2007 21:01:40 +0000 (21:01 +0000)
simgear/scene/model/animation.cxx

index 5e3ed63f5a2e52cb6224fac6c97e8658026260c3..f6b12e6e2e74f728627802d52a1f7ab1005b7bf0 100644 (file)
@@ -923,7 +923,7 @@ SGScaleAnimation::SGScaleAnimation(const SGPropertyNode* configNode,
   _condition = getCondition();
 
   // default offset/factor for all directions
-  double offset = configNode->getDoubleValue("offset", 1);
+  double offset = configNode->getDoubleValue("offset", 0);
   double factor = configNode->getDoubleValue("factor", 1);
 
   std::string inputPropertyName;