diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-01-04 07:21:32 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-01-04 07:21:32 +0300 |
commit | 0feedfe591f46667efdd0a70e3e29cd2e10927dd (patch) | |
tree | 394a8f95f65cc5e72ab7ca8618d54854dd2eded9 /source/blender/blenkernel | |
parent | 125057c4304007e80ff0203232469e95ea2cd07a (diff) |
2.5 - Outliner/RNA Viewer View2d Fixes (Part 1)
Cleaned up the View2D setup stuff here, by removing all the hacky manual setting of tot and cur rects. Now the Outliner and RNA are scrollable again.
However, in the process, I uncovered a few rather nasty bugs that must've been around for ages.
1) The width-calculation code depends on te->xend for calculating the max-extents, but that is not set until drawing of channels commences. This is far too late, as it is needed for the setting of the 'tot' rect's extents, so that we can have horizontal scrolling, and an accurate horizontal scroller! I noticed that RNA version of this currently hacks around this by using constant width of 100, but that's not a great final solution.
2) There's some minor pixel offset twitching going on with the restriction columns when the view is resized. Also, for RNA, the buttons sometimes cause a few drawing artifacts. Will check on this in part 2.
Diffstat (limited to 'source/blender/blenkernel')
0 files changed, 0 insertions, 0 deletions