]> Dogcows Code - chaz/yoink/blobdiff - src/Animation.cc
mesh and other random adjustments
[chaz/yoink] / src / Animation.cc
index fead5cab1697f67682d5df9546f14f7308356779..a9710ce66b525e0536789394ca014b5323a89b2f 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <moof/manager.hh>
 #include <moof/log.hh>
+#include <moof/resource.hh>
 #include <moof/script.hh>
 
 #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);
This page took 0.017527 seconds and 4 git commands to generate.