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;


_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to