]> git.mxchange.org Git - simgear.git/commitdiff
animation: fix for 'textrapezoid' animation outside 'texmultiple'.
authorThomas Geymayer <tomgey@gmail.com>
Wed, 26 Feb 2014 16:48:11 +0000 (17:48 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Wed, 26 Feb 2014 16:48:11 +0000 (17:48 +0100)
simgear/scene/model/animation.cxx

index a3ebc77415580f4a320bd89ff17daff0c5276922..7bb6cf457b664490359e16b09efce5ded3c0c29a 100644 (file)
@@ -418,7 +418,7 @@ SGAnimation::animate(osg::Node* node, const SGPropertyNode* configNode,
     SGShaderAnimation animInst(configNode, modelRoot, options);
     animInst.apply(node);
   } else if (type == "textranslate" || type == "texrotate" ||
-             type == "texmultiple") {
+             type == "textrapezoid" || type == "texmultiple") {
     SGTexTransformAnimation animInst(configNode, modelRoot);
     animInst.apply(node);
   } else if (type == "timed") {