KRObjView now automatically loads any models it finds in the "Documents" folder and assigns light maps that have the same name as the model appended with "_lightmap".

Lightmapping now enabled by default.

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4026
This commit is contained in:
kearwood
2012-04-05 21:18:25 +00:00
parent ee3fbb8a8a
commit 75e42c08fd
4 changed files with 17 additions and 2 deletions

View File

@@ -56,3 +56,8 @@ KRModel *KRModelManager::getFirstModel() {
static std::map<std::string, KRModel *>::iterator model_itr = m_models.begin();
return (*model_itr).second;
}
std::map<std::string, KRModel *> KRModelManager::getModels() {
return m_models;
}