From: fredb Date: Fri, 12 Dec 2008 20:02:44 +0000 (+0000) Subject: Csaba/Jester : fix a problem with tex transform animation X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=15893bc55813f674187d33a777a44521a3618ab6;p=simgear.git Csaba/Jester : fix a problem with tex transform animation --- diff --git a/simgear/scene/model/animation.cxx b/simgear/scene/model/animation.cxx index 1dd74cc9..96057e80 100644 --- a/simgear/scene/model/animation.cxx +++ b/simgear/scene/model/animation.cxx @@ -1820,6 +1820,7 @@ SGTexTransformAnimation::createAnimationGroup(osg::Group& parent) 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 ...