Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/readfile.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 8,386 Lines • ▼ Show 20 Lines | static void do_versions(FileData *fd, Library *lib, Main *main) | ||||
| /* WATCH IT!!!: pointers from libdata have not been converted yet here! */ | /* WATCH IT!!!: pointers from libdata have not been converted yet here! */ | ||||
| /* WATCH IT 2!: Userdef struct init see do_versions_userdef() above! */ | /* WATCH IT 2!: Userdef struct init see do_versions_userdef() above! */ | ||||
| /* don't forget to set version number in BKE_blender_version.h! */ | /* don't forget to set version number in BKE_blender_version.h! */ | ||||
| } | } | ||||
| static void do_versions_after_linking(Main *main) | static void do_versions_after_linking(Main *main) | ||||
| { | { | ||||
| UNUSED_VARS(main); | |||||
| // printf("%s for %s (%s), %d.%d\n", __func__, main->curlib ? main->curlib->name : main->name, | // printf("%s for %s (%s), %d.%d\n", __func__, main->curlib ? main->curlib->name : main->name, | ||||
mont29: To be removed, `main` is used now! ;) | |||||
| // main->curlib ? "LIB" : "MAIN", main->versionfile, main->subversionfile); | // main->curlib ? "LIB" : "MAIN", main->versionfile, main->subversionfile); | ||||
| do_versions_after_linking_270(main); | |||||
| } | } | ||||
| static void lib_link_all(FileData *fd, Main *main) | static void lib_link_all(FileData *fd, Main *main) | ||||
| { | { | ||||
| oldnewmap_sort(fd); | oldnewmap_sort(fd); | ||||
| /* No load UI for undo memfiles */ | /* No load UI for undo memfiles */ | ||||
| if (fd->memfile == NULL) { | if (fd->memfile == NULL) { | ||||
| ▲ Show 20 Lines • Show All 2,106 Lines • Show Last 20 Lines | |||||
To be removed, main is used now! ;)