]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/model/model.cxx
Add a blend animation
[simgear.git] / simgear / scene / model / model.cxx
index 853e41be6faf31faa178e6cb3ddf082a1094b822..0b699ee091f57b4754d1763494eec3607dd100de 100644 (file)
@@ -129,6 +129,8 @@ sgMakeAnimation( ssgBranch * model,
     animation = new SGTexTranslateAnimation(prop_root, node);
   } else if (!strcmp("texmultiple", type)) {
     animation = new SGTexMultipleAnimation(prop_root, node);
+  } else if (!strcmp("blend", type)) {
+    animation = new SGBlendAnimation(prop_root, node);
   } else {
     animation = new SGNullAnimation(node);
     SG_LOG(SG_INPUT, SG_WARN, "Unknown animation type " << type);