--- /media/foreign/cvs-simgear/source/simgear/scene/model/SGMaterialAnimation.cxx	2007-05-30 15:07:05.000000000 +0200
+++ simgear/scene/model/SGMaterialAnimation.cxx	2007-09-05 11:18:27.000000000 +0200
@@ -376,6 +379,8 @@
 
   osgDB::FilePathList texturePathList = osgDB::getDataFilePathList();
 
+  if (getConfig()->hasChild("texture-prop")) 
+      osg::StateSet* stateSet = group->getOrCreateStateSet();     
   if (getConfig()->hasChild("texture")) {
     std::string textureName = getConfig()->getStringValue("texture");
     std::string textureFile;
