diff options
Diffstat (limited to 'source/blender/editors/physics/ed_fluidsim.c')
-rw-r--r-- | source/blender/editors/physics/ed_fluidsim.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/source/blender/editors/physics/ed_fluidsim.c b/source/blender/editors/physics/ed_fluidsim.c index 093fa3f0a49..907d3f99f77 100644 --- a/source/blender/editors/physics/ed_fluidsim.c +++ b/source/blender/editors/physics/ed_fluidsim.c @@ -200,28 +200,6 @@ static void fluidsimPrintChannel(FILE *file, float *channel, int paramsize, char static void fluidsimInitChannel(Scene *scene, float **setchannel, int size, float *time, int *icuIds, float *defaults, Ipo* ipo, int entries) { - - int i, j; - char *cstr = NULL; - float *channel = NULL; - - cstr = "fluidsiminit_channelfloat"; - if(entries>1) cstr = "fluidsiminit_channelvec"; - channel = MEM_callocN( size* (entries+1)* sizeof(float), cstr ); - - /* defaults for now */ - for(j=0; j<entries; j++) { - for(i=1; i<=size; i++) { - channel[(i-1)*(entries+1) + j] = defaults[j]; - } - } - - for(i=1; i<=size; i++) { - channel[(i-1)*(entries+1) + entries] = time[i]; - } - - *setchannel = channel; - #if 0 /* goes away completely */ int i,j; |