X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FAnimation.cc;fp=src%2FAnimation.cc;h=a9710ce66b525e0536789394ca014b5323a89b2f;hp=fead5cab1697f67682d5df9546f14f7308356779;hb=6f1b787a10d8ab1a3117a4b8c004dd2d90599608;hpb=c143f7e806766a73cd69dc6e084e977641019ce6 diff --git a/src/Animation.cc b/src/Animation.cc index fead5ca..a9710ce 100644 --- a/src/Animation.cc +++ b/src/Animation.cc @@ -15,6 +15,7 @@ #include #include +#include #include #include "Animation.hh" @@ -139,11 +140,6 @@ public: moof::script script; std::string path = moof::resource::find_file("animations/"+name, "lua"); - //if (!resource::find(path)) - //{ - //throw std::runtime_error("cannot find resource " + name); - //} - script.import_base_library(); moof::log::import(script); importAnimationBindings(script);