Csaba/Jester : fix a problem with tex transform animation

This commit is contained in:
fredb
2008-12-12 20:02:44 +00:00
parent 73b974f1b5
commit 15893bc558
+1
View File
@@ -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 ...