diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2016-04-13 19:10:23 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2016-04-13 19:10:23 +0300 |
commit | 987bb50a74132e1f2489083c59daab892f24806f (patch) | |
tree | d0c6f7abd2b42b2a20779e219ac5c5ab9a5c2235 /source/blender/blenkernel/intern/pointcache.c | |
parent | d474ed9b884863771ea29dc622d1ac6ba3cf0166 (diff) |
Removed remaining use of pointers to particle types as well as boids headers.
Diffstat (limited to 'source/blender/blenkernel/intern/pointcache.c')
-rw-r--r-- | source/blender/blenkernel/intern/pointcache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/pointcache.c b/source/blender/blenkernel/intern/pointcache.c index d605232f97d..a3529d8e6f2 100644 --- a/source/blender/blenkernel/intern/pointcache.c +++ b/source/blender/blenkernel/intern/pointcache.c @@ -130,7 +130,7 @@ static int ptcache_data_size[] = { 3 * sizeof(float), // BPHYS_DATA_AVELOCITY / BPHYS_DATA_XCONST sizeof(float), // BPHYS_DATA_SIZE 3 * sizeof(float), // BPHYS_DATA_TIMES - sizeof(BoidData) // case BPHYS_DATA_BOIDS + 0 // case BPHYS_DATA_BOIDS }; static int ptcache_extra_datasize[] = { @@ -1825,7 +1825,6 @@ static void ptcache_file_pointers_init(PTCacheFile *pf) pf->cur[BPHYS_DATA_AVELOCITY] = (data_types & (1<<BPHYS_DATA_AVELOCITY))? &pf->data.ave : NULL; pf->cur[BPHYS_DATA_SIZE] = (data_types & (1<<BPHYS_DATA_SIZE)) ? &pf->data.size : NULL; pf->cur[BPHYS_DATA_TIMES] = (data_types & (1<<BPHYS_DATA_TIMES)) ? &pf->data.times : NULL; - pf->cur[BPHYS_DATA_BOIDS] = (data_types & (1<<BPHYS_DATA_BOIDS)) ? &pf->data.boids : NULL; } /* Check to see if point number "index" is in pm, uses binary search for index data. */ |