animation: fix for 'textrapezoid' animation outside 'texmultiple'.

This commit is contained in:
Thomas Geymayer 2014-02-26 17:48:11 +01:00
parent bd5bc9cda0
commit 91b92c5613

View 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") {