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 3,686 Lines • ▼ Show 20 Lines | static void direct_link_mball(FileData *fd, MetaBall *mb) | ||||
| test_pointer_array(fd, (void **)&mb->mat); | test_pointer_array(fd, (void **)&mb->mat); | ||||
| link_list(fd, &(mb->elems)); | link_list(fd, &(mb->elems)); | ||||
| BLI_listbase_clear(&mb->disp); | BLI_listbase_clear(&mb->disp); | ||||
| mb->editelems = NULL; | mb->editelems = NULL; | ||||
| /* mb->edit_elems.first= mb->edit_elems.last= NULL;*/ | /* mb->edit_elems.first= mb->edit_elems.last= NULL;*/ | ||||
| mb->lastelem = NULL; | mb->lastelem = NULL; | ||||
| mb->batch_cache = NULL; | |||||
| } | } | ||||
| /* ************ READ WORLD ***************** */ | /* ************ READ WORLD ***************** */ | ||||
| static void lib_link_world(FileData *fd, Main *main) | static void lib_link_world(FileData *fd, Main *main) | ||||
| { | { | ||||
| for (World *wrld = main->world.first; wrld; wrld = wrld->id.next) { | for (World *wrld = main->world.first; wrld; wrld = wrld->id.next) { | ||||
| if (wrld->id.tag & LIB_TAG_NEED_LINK) { | if (wrld->id.tag & LIB_TAG_NEED_LINK) { | ||||
| ▲ Show 20 Lines • Show All 7,156 Lines • Show Last 20 Lines | |||||