From 01e9635ef14de49e34dd0889c51dcb06799fa061 Mon Sep 17 00:00:00 2001 From: Daniel Genrich Date: Mon, 7 Jul 2008 21:04:20 +0000 Subject: [PATCH] Correct IPOs again, have yet to find a resolution how to hide some unsused IPOs --- source/blender/src/editipo.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c index 22bcad06424..393aa90f715 100644 --- a/source/blender/src/editipo.c +++ b/source/blender/src/editipo.c @@ -499,21 +499,23 @@ static void make_fluidsim_editipo(SpaceIpo *si, Object *ob) // NT int ipo_start_index = 0; // we don't need all fluid ipos for all types! - dg + /* if(fss->type == OB_FLUIDSIM_CONTROL) { numipos = 4; // there are 4 fluid control ipos ipo_start_index = 9; } - else if(fss->type == OB_FLUIDSIM_DOMAIN) + else */ + if(fss->type == OB_FLUIDSIM_DOMAIN) { numipos = 5; // there are 5 ipos for fluid domains - } + }/* else { numipos = 4; // there are 4 for the rest ipo_start_index = 5; - } + }*/ ei= si->editipo= MEM_callocN(numipos*sizeof(EditIpo), "fluidsim_editipo"); si->totipo = numipos;