mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Merge remote-tracking branch 'TanninOne/master' into issue/344
This commit is contained in:
@@ -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)
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user