X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Fmodel%2Fmodel.cxx;h=0b699ee091f57b4754d1763494eec3607dd100de;hb=d3db963dceaa1b27bb5541cc385df5dedb3c726c;hp=528ad1164b973bfafcb692e808405577784473be;hpb=4c78e887e1d08599c8ecefa983acd8d4b79c742d;p=simgear.git diff --git a/simgear/scene/model/model.cxx b/simgear/scene/model/model.cxx index 528ad116..0b699ee0 100644 --- a/simgear/scene/model/model.cxx +++ b/simgear/scene/model/model.cxx @@ -121,12 +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);