X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Fmodel%2Fmodel.cxx;h=0b699ee091f57b4754d1763494eec3607dd100de;hb=d3db963dceaa1b27bb5541cc385df5dedb3c726c;hp=1ece4c5b726792e8a15127b454a4dc13ebf61234;hpb=17e247852231f83d9c5c5d02f789e789ea40763b;p=simgear.git diff --git a/simgear/scene/model/model.cxx b/simgear/scene/model/model.cxx index 1ece4c5b..0b699ee0 100644 --- a/simgear/scene/model/model.cxx +++ b/simgear/scene/model/model.cxx @@ -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);