]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/model/model.cxx
Add a blend animation
[simgear.git] / simgear / scene / model / model.cxx
index 1ece4c5b726792e8a15127b454a4dc13ebf61234..0b699ee091f57b4754d1763494eec3607dd100de 100644 (file)
@@ -121,10 +121,16 @@ sgMakeAnimation( ssgBranch * model,
     animation = new SGRotateAnimation(prop_root, node);
   } else if (!strcmp("translate", type)) {
     animation = new SGTranslateAnimation(prop_root, node);
+  } else if (!strcmp("scale", type)) {
+    animation = new SGScaleAnimation(prop_root, node);
   } else if (!strcmp("texrotate", type)) {
     animation = new SGTexRotateAnimation(prop_root, node);
   } else if (!strcmp("textranslate", type)) {
     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);