]> Dogcows Code - chaz/yoink/blobdiff - src/Scene.cc
refactoring needed for win32 crash
[chaz/yoink] / src / Scene.cc
index a45b1fba55f939bf031038e0e1c4f3ecd13daaa4..aa2249c596ae0b462e9910db1bd93362ef8ceabd 100644 (file)
@@ -31,7 +31,6 @@
 #include <Moof/Aabb.hh>
 #include <Moof/Camera.hh>
 #include <Moof/Entity.hh>
-#include <Moof/Exception.hh>
 #include <Moof/Library.hh>
 #include <Moof/Line.hh>
 #include <Moof/Log.hh>
@@ -194,7 +193,7 @@ struct Scene::Impl : public Mf::Library<Impl>
                                boost::bind(&Impl::drawTile, this, _1));
 
                int detail = 3;
-               Mf::Settings::getInstance().get("detail", detail);
+               Mf::settings.get("detail", detail);
                script.push(detail); script.set("detail");
 
                script.push(1); script.set("LOW");
@@ -415,7 +414,7 @@ struct Scene::Impl : public Mf::Library<Impl>
                        Mf::Vector2 tr = Mf::demote(vertices[height][width]);
 
                        mLines.push_back(Mf::Line<2>(bl, tr));
-                       Mf::logDebug("new line");
+                       Mf::logInfo("new line");
                }
 
                return 0;
This page took 0.017572 seconds and 4 git commands to generate.