Merged changes in the trunk up to revision 48893.
[blender-staging.git] / source / blender / editors / animation / anim_channels_defines.c
index 9be0ab37510adb946e8e6eed021b553d98101ee9..6331dd5152797bd71e9863cf67f5a8a5c7a314ad 100644 (file)
@@ -3088,28 +3088,28 @@ void ANIM_channel_draw(bAnimContext *ac, bAnimListElem *ale, float yminc, float
                        offset += ICON_WIDTH; 
                }
        }
-       
+
        /* step 5) draw name ............................................... */
-       // TODO: when renaming, we might not want to draw this, especially if name happens to be longer than channel
+       /* TODO: when renaming, we might not want to draw this, especially if name happens to be longer than channel */
        if (acf->name) {
                char name[ANIM_CHAN_NAME_SIZE]; /* hopefully this will be enough! */
-               
+
                /* set text color */
-               // XXX: if active, highlight differently?
+               /* XXX: if active, highlight differently? */
                if (selected)
                        UI_ThemeColor(TH_TEXT_HI);
                else
                        UI_ThemeColor(TH_TEXT);
-                       
+
                /* get name */
                acf->name(ale, name);
-               
+
                offset += 3;
                UI_DrawString(offset, ytext, name);
-               
+
                /* draw red underline if channel is disabled */
                if ((ale->type == ANIMTYPE_FCURVE) && (ale->flag & FCURVE_DISABLED)) {
-                       // FIXME: replace hardcoded color here, and check on extents!
+                       /* FIXME: replace hardcoded color here, and check on extents! */
                        glColor3f(1.0f, 0.0f, 0.0f);
                        glLineWidth(2.0);
                        fdrawline((float)(offset), yminc,
@@ -3117,13 +3117,13 @@ void ANIM_channel_draw(bAnimContext *ac, bAnimListElem *ale, float yminc, float
                        glLineWidth(1.0);
                }
        }
-       
+
        /* step 6) draw backdrops behidn mute+protection toggles + (sliders) ....................... */
        /* reset offset - now goes from RHS of panel */
        offset = 0;
-       
-       // TODO: when drawing sliders, make those draw instead of these toggles if not enough space
-       
+
+       /* TODO: when drawing sliders, make those draw instead of these toggles if not enough space */
+
        if (v2d) {
                short draw_sliders = 0;
                float color[3];