[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [15476] branches/fluidcontrol/source/ blender/src/editipo.c: Correct IPOs again, have yet to find a resolution how to hide some unsused IPOs

Daniel Genrich daniel.genrich at gmx.net
Mon Jul 7 23:04:20 CEST 2008


Revision: 15476
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15476
Author:   genscher
Date:     2008-07-07 23:04:20 +0200 (Mon, 07 Jul 2008)

Log Message:
-----------
Correct IPOs again, have yet to find a resolution how to hide some unsused IPOs

Modified Paths:
--------------
    branches/fluidcontrol/source/blender/src/editipo.c

Modified: branches/fluidcontrol/source/blender/src/editipo.c
===================================================================
--- branches/fluidcontrol/source/blender/src/editipo.c	2008-07-07 20:31:53 UTC (rev 15475)
+++ branches/fluidcontrol/source/blender/src/editipo.c	2008-07-07 21:04:20 UTC (rev 15476)
@@ -499,21 +499,23 @@
 	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;





More information about the Bf-blender-cvs mailing list