Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/Converter/KX_BlenderSceneConverter.cpp
| Show First 20 Lines • Show All 923 Lines • ▼ Show 20 Lines | if (idcode == ID_SCE && options & LIB_LOAD_LOAD_SCRIPTS) { | ||||
| load_datablocks(main_tmp, bpy_openlib, path, ID_TXT); | load_datablocks(main_tmp, bpy_openlib, path, ID_TXT); | ||||
| } | } | ||||
| /* now do another round of linking for Scenes so all actions are properly loaded */ | /* now do another round of linking for Scenes so all actions are properly loaded */ | ||||
| if (idcode == ID_SCE && options & LIB_LOAD_LOAD_ACTIONS) { | if (idcode == ID_SCE && options & LIB_LOAD_LOAD_ACTIONS) { | ||||
| load_datablocks(main_tmp, bpy_openlib, path, ID_AC); | load_datablocks(main_tmp, bpy_openlib, path, ID_AC); | ||||
| } | } | ||||
| BLO_library_link_end(main_tmp, &bpy_openlib, flag, NULL, NULL); | BLO_library_link_end(main_tmp, &bpy_openlib, flag, NULL, NULL, NULL); | ||||
| BLO_blendhandle_close(bpy_openlib); | BLO_blendhandle_close(bpy_openlib); | ||||
| BKE_reports_clear(&reports); | BKE_reports_clear(&reports); | ||||
| /* done linking */ | /* done linking */ | ||||
| /* needed for lookups*/ | /* needed for lookups*/ | ||||
| GetMainDynamic().push_back(main_newlib); | GetMainDynamic().push_back(main_newlib); | ||||
| ▲ Show 20 Lines • Show All 537 Lines • Show Last 20 Lines | |||||