diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-11-08 09:43:08 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-11-08 09:43:08 +0300 |
commit | 10900f1de816a22a616d9626523d181fb982ec0a (patch) | |
tree | c556ad10debfdfbcef096989e80c7d1267ad5bae /source/blender/editors/animation/anim_channels_defines.c | |
parent | fac2ca1c7ca26b9e7019d5c3367b1cb758ba8ca4 (diff) |
Graph Editor Drawing Tweaks:
* When there is only a single keyframe for a F-Curve, the handles aren't shown anymore. This looks nicer than the fat orange blobs that appeared
* Tweaked the management of GL_BLEND when drawing animation channels in the Graph Editor in an attempt to fix some of the missing text drawn issues.
* Converted the properties panel to use layout engine + added color selectors
Diffstat (limited to 'source/blender/editors/animation/anim_channels_defines.c')
-rw-r--r-- | source/blender/editors/animation/anim_channels_defines.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c index efbdd505bcb..e8bfbf7fe52 100644 --- a/source/blender/editors/animation/anim_channels_defines.c +++ b/source/blender/editors/animation/anim_channels_defines.c @@ -2200,6 +2200,9 @@ void ANIM_channel_draw (bAnimContext *ac, bAnimListElem *ale, float yminc, float UI_icon_draw(offset, ymid, acf->icon(ale)); offset += ICON_WIDTH; } + + /* turn off blending, since not needed anymore... */ + glDisable(GL_BLEND); /* step 4) draw special toggles ................................. * - in Graph Editor, checkboxes for visibility in curves area |