Blender Git Loki
Git Commits -> Revision afb45ae
Revision afb45ae by Joshua Leung (master) December 6, 2008, 09:25 (GMT) |
View2D: Code cleanup - UI_view2d_status_enforce() This commit *should* bring UI_view2d_status_enforce() (formerly known in pre 2.5 as test_view2d) under control again. I've attempted to reduce the amount of duplicated code here, so hopefully there won't be any nasty bugs that will show up in some of the other views when they are ported. Summary of changes: * Restored V2D_KEEPZOOM flag which I had previously removed, having misunderstood its function. * Fixed bugs with resizing Outliner window * Outliner width is now columns + 1 again. Documented reasons for this (otherwise, stuff gets covered by scrollbars, but we cannot see it) |
Commit Details:
Full Hash: afb45ae7cf67d18c2749a172c2a4ec5d57ce8003
SVN Revision: 17726
Parent Commit: 8a04f03
Lines Changed: +189, -158
5 Modified Paths:
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/editors/include/UI_view2d.h (+1, -1) (Diff)
/source/blender/editors/interface/view2d.c (+173, -150) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+8, -3) (Diff)
/source/blender/makesdna/DNA_view2d_types.h (+6, -4) (Diff)
/source/blender/editors/include/UI_view2d.h (+1, -1) (Diff)
/source/blender/editors/interface/view2d.c (+173, -150) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+8, -3) (Diff)
/source/blender/makesdna/DNA_view2d_types.h (+6, -4) (Diff)