#define MICHLIB_NOSOURCE #include "actioninterpolate2d.h" InterpolateMethods::Mode InterpolateMethods::GetMode(const CLArgs& args) { MString mode = args.contains("mode") ? args.at("mode") : "vylet_start"; if(mode == "vylet_start") return Mode::VYLETSTART; if(mode == "vylet_end") return Mode::VYLETEND; return Mode::INVALID; }