2.5 - Assorted View2D related fixes
authorJoshua Leung <aligorith@gmail.com>
Fri, 12 Dec 2008 23:25:54 +0000 (23:25 +0000)
committerJoshua Leung <aligorith@gmail.com>
Fri, 12 Dec 2008 23:25:54 +0000 (23:25 +0000)
commit56557f223fb9c9afae0965fb564b9c189e97f5cb
tree846332e23b6e1fed438d56469bdc0a4677d64fed
parentf3dc0ba876d37f7c85c3fc1408b24f962a88642e
2.5 - Assorted View2D related fixes

IPO Editor Fixes:
* Grid now draws correct. Fixed typo in gridline calculations preventing drawing from occurring. Also, set the right arguments to the appropriate View2D calls.
* Limited Ton's cur<->mask mapping 'hack' to Outliner only, as it was causing problems with the drawing of the grid. Perhaps there's still some faulty code in curRect_validate that should be changed instead...
* Horizontal scroller draws frames now by default. However, the values are still offset a bit, so will need further investigation.

Outliner Fixes:
* Fixed overlapping text problem with RNA-path and menus. Now RNA path draws as a label beside the menus, so there shouldn't be any more problems there.
* do_versions code now sets all appropriate flags, as old OOPS views could cause errors with scroller drawing + view manipulation operators which depend on flags being set.
source/blender/blenloader/intern/readfile.c
source/blender/editors/include/UI_view2d.h
source/blender/editors/interface/view2d.c
source/blender/editors/space_ipo/space_ipo.c
source/blender/editors/space_outliner/outliner_header.c
source/blender/editors/space_outliner/space_outliner.c
source/blender/makesdna/DNA_space_types.h