fixed build scripts and added fallout 4 support

This commit is contained in:
Tannin
2015-11-28 10:58:49 +01:00
parent fe2169650e
commit 7d6d51b213
6 changed files with 13 additions and 20 deletions
+2 -1
View File
@@ -284,7 +284,7 @@ struct QList_to_python_list
bpy::list pyList;
try {
foreach (const T &item, list) {
for (const T &item : list) {
pyList.append(item);
}
} catch (const bpy::error_already_set&) {
@@ -683,6 +683,7 @@ BOOST_PYTHON_MODULE(mobase)
bpy::enum_<MOBase::IGameInfo::Type>("GameType")
.value("oblivion", MOBase::IGameInfo::TYPE_OBLIVION)
.value("fallout3", MOBase::IGameInfo::TYPE_FALLOUT3)
.value("fallout4", MOBase::IGameInfo::TYPE_FALLOUT4)
.value("falloutnv", MOBase::IGameInfo::TYPE_FALLOUTNV)
.value("skyrim", MOBase::IGameInfo::TYPE_SKYRIM)
;