]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Settings.cc
fixed up video and texture handling
[chaz/yoink] / src / Moof / Settings.cc
index d13302d729234f2f7c6aa5710646dae82cf8a53b..ccf690af65e395f93142a08eb891cde8e7a31c77 100644 (file)
@@ -100,13 +100,13 @@ void Settings::loadFromFiles(const std::vector<std::string>& filePaths,
                        boost::replace_first(path, "$HOME", home);
                }
 
-               Deserializer deserializer(*it, true);
-
-               std::cout << "Looking for a config file at " << path << std::endl;
                try
                {
+                       Deserializer deserializer(*it, true);
+
                        SerializablePtr obj = deserializer.deserialize();
                        std::map<std::string,SerializablePtr> map;
+
                        if (obj && obj->get(map))
                        {
                                if (!precedence)
This page took 0.017761 seconds and 4 git commands to generate.