From f06036be097dd7b631b57daad03269033e0576b0 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 24 Jan 2005 21:46:12 +0000 Subject: [PATCH] Frederic Bouvier: The Beaver triggered a problem ( uninitialized variable ). Here is the updated code. --- simgear/scene/model/animation.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/simgear/scene/model/animation.cxx b/simgear/scene/model/animation.cxx index e7aa26b3..abef683d 100644 --- a/simgear/scene/model/animation.cxx +++ b/simgear/scene/model/animation.cxx @@ -407,6 +407,7 @@ SGSpinAnimation::SGSpinAnimation( SGPropertyNode *prop_root, } } //_position_deg(props->getDoubleValue("starting-position-deg", 0)), + _position_deg = 0.0; _position_deg_min = 0.0; _position_deg_max = 0.0; SGPropertyNode_ptr position_deg_n = props->getNode( "starting-position-deg" ); -- 2.39.5