~ubuntu-branches/ubuntu/utopic/blender/utopic-proposed

« back to all changes in this revision

Viewing changes to source/blender/editors/space_graph/space_graph.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-02-19 11:24:23 UTC
  • mfrom: (14.2.23 sid)
  • Revision ID: package-import@ubuntu.com-20140219112423-rkmaz2m7ha06d4tk
Tags: 2.69-3ubuntu1
* Merge with Debian; remaining changes:
  - Configure without OpenImageIO on armhf, as it is not available on
    Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
436
436
                default:
437
437
                        if (wmn->data == ND_KEYS)
438
438
                                ED_region_tag_redraw(ar);
 
439
                        break;
439
440
                                
440
441
        }
441
442
}
518
519
        switch (sipo->mode) {
519
520
                case SIPO_MODE_ANIMATION: /* all animation */
520
521
                {
521
 
                        
 
522
                        break;
522
523
                }
523
 
                break;
524
524
                
525
525
                case SIPO_MODE_DRIVERS: /* drivers only  */
526
526
                {
527
 
                
 
527
                        break;
528
528
                }
529
 
                break;
530
529
        }
531
530
        
532
531
        /* region updates? */
563
562
                        /* set color of curve here */
564
563
                        switch (fcu->color_mode) {
565
564
                                case FCURVE_COLOR_CUSTOM:
 
565
                                {
566
566
                                        /* User has defined a custom color for this curve already (we assume it's not going to cause clashes with text colors),
567
567
                                         * which should be left alone... Nothing needs to be done here.
568
568
                                         */
569
569
                                        break;
570
 
                                        
 
570
                                }
571
571
                                case FCURVE_COLOR_AUTO_RGB:
572
572
                                {
573
573
                                        /* F-Curve's array index is automatically mapped to RGB values. This works best of 3-value vectors. 
590
590
                                                        col[0] = 0.3f; col[1] = 0.8f; col[2] = 1.0f;
591
591
                                                        break;
592
592
                                        }
 
593
                                        break;
593
594
                                }
594
 
                                break;
595
 
                                
596
595
                                case FCURVE_COLOR_AUTO_RAINBOW:
597
596
                                default:
598
597
                                {
600
599
                                         * of current item index + total items to determine some RGB color
601
600
                                         */
602
601
                                        getcolor_fcurve_rainbow(i, items, fcu->color);
 
602
                                        break;
603
603
                                }
604
 
                                break;
605
604
                        }
606
605
                }
607
606