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 4,543 Lines • ▼ Show 20 Lines | for (i = 0; i < BPHYS_TOT_DATA; i++) { | ||||
| } | } | ||||
| } | } | ||||
| BLO_read_list(reader, &pm->extradata); | BLO_read_list(reader, &pm->extradata); | ||||
| for (extra = pm->extradata.first; extra; extra = extra->next) { | for (extra = pm->extradata.first; extra; extra = extra->next) { | ||||
| BLO_read_data_address(reader, &extra->data); | BLO_read_data_address(reader, &extra->data); | ||||
| } | } | ||||
| BLO_read_list(reader, &pm->arrays); | |||||
| LISTBASE_FOREACH (PTCacheArray *, array, &pm->arrays) { | |||||
| BLO_read_data_address(reader, &array->identifier); | |||||
| BLO_read_data_address(reader, &array->data); | |||||
| } | |||||
| } | } | ||||
| static void direct_link_pointcache(BlendDataReader *reader, PointCache *cache) | static void direct_link_pointcache(BlendDataReader *reader, PointCache *cache) | ||||
| { | { | ||||
| if ((cache->flag & PTCACHE_DISK_CACHE) == 0) { | if ((cache->flag & PTCACHE_DISK_CACHE) == 0) { | ||||
| BLO_read_list_cb(reader, &cache->mem_cache, direct_link_pointcache_cb); | BLO_read_list_cb(reader, &cache->mem_cache, direct_link_pointcache_cb); | ||||
| } | } | ||||
| else { | else { | ||||
| ▲ Show 20 Lines • Show All 8,133 Lines • Show Last 20 Lines | |||||