On Tue, Dec 9, 2008 at 8:52 PM, Csaba Halász <[EMAIL PROTECTED]> wrote:
>
> The only suspicious thing so far is that the DataVariance is set to STATIC.

Indeed, setting it to dynamic seems to fix this problem. Maybe other
animations are affected too.

-- 
Csaba/Jester
Index: simgear/scene/model/animation.cxx
===================================================================
RCS file: /var/cvs/SimGear-0.3/source/simgear/scene/model/animation.cxx,v
retrieving revision 1.76
diff -u -r1.76 animation.cxx
--- simgear/scene/model/animation.cxx	12 Jun 2008 08:14:40 -0000	1.76
+++ simgear/scene/model/animation.cxx	9 Dec 2008 22:32:13 -0000
@@ -1820,6 +1820,7 @@
   osg::Group* group = new osg::Group;
   group->setName("texture transform group");
   osg::StateSet* stateSet = group->getOrCreateStateSet();
+  stateSet->setDataVariance(osg::Object::DYNAMIC);  
   osg::TexMat* texMat = new osg::TexMat;
   UpdateCallback* updateCallback = new UpdateCallback(getCondition());
   // interpret the configs ...
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to