svn merge -r 16060:16222 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender-staging.git] / source / blender / src / editipo.c
index b9ca228d737cb01784e1d5c96bfaf702bc8c25d1..221f9a1c7298fe9a7aa817c2a9d7fc6ac9e2aad0 100644 (file)
@@ -464,24 +464,7 @@ static void make_part_editipo(SpaceIpo *si)
                name = getname_part_ei(part_ar[a]);
                strcpy(ei->name, name);
                ei->adrcode= part_ar[a];
-               
-               //if(ei->adrcode & MA_MAP1) {
-               //      ei->adrcode-= MA_MAP1;
-               //      ei->adrcode |= texchannel_to_adrcode(si->channel);
-               //}
-               //else {
-               //      if(ei->adrcode==MA_MODE) ei->disptype= IPO_DISPBITS;
-               //}
-               
                ei->col= ipo_rainbow(a, PART_TOTIPO);
-               
-               //len= strlen(ei->name);
-               //if(len) {
-               //      if( ei->name[ len-1 ]=='R') ei->col= 0x5050FF;
-               //      else if( ei->name[ len-1 ]=='G') ei->col= 0x50FF50;
-               //      else if( ei->name[ len-1 ]=='B') ei->col= 0xFF7050;
-               //}
-               
                ei->icu= find_ipocurve(si->ipo, ei->adrcode);
                if(ei->icu) {
                        ei->flag= ei->icu->flag;
@@ -6040,4 +6023,4 @@ void move_to_frame(void)
                }
        }
        BIF_undo_push("Set frame to selected Ipo vertex");
-}
\ No newline at end of file
+}