Blender Git Commit Log
Git Commits -> Revision 43b26b7
Revision 43b26b7 by Joshua Leung (master) November 30, 2008, 06:15 (GMT) |
View2D - Initial commit of Pan-View Operator * Moved View2D data from space-data to ARegion (aka regions). This has been done because drawing occurs in regions not areas anymore. The View2D struct is currently stored in the ARegion struct (not as pointer), given that most of the regions in use will be 2D anyway (only the 3d-view's "window" region is the exception). Added version patch code for outliner and timeline only for now. Headers are also likely to need this. * Added separate keymap for View2D operators. All regions that use View2D will need this added. This includes headers too. * Pan view operator (ED_View2D_OT_view_pan), currently works for Outliner and Timeline. Use MMB-drag as before. - It currently doesn't exposed any parameters for redo (via RNA-ID-Props), but only uses some customdata. Suggestions on what these parameters could be are welcomed. - I've yet to implement the necessary axis-locking features for this panning (which is required in Timeline for example to prevent vertical panning, which moves the markers out of view). |
Commit Details:
Full Hash: 43b26b72ab0df5ff8bbdb7e30c761099b95385a6
SVN Revision: 17637
Parent Commit: 970fa83
Lines Changed: +624, -57
1 Added Path:
/source/blender/editors/interface/view2d_ops.c (+257, -0) (View)
15 Modified Paths:
/projectfiles_vc9/blender/editors/ED_editors.vcproj (+4, -0) (Diff)
/SConstruct (+2, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+13, -0) (Diff)
/source/blender/editors/include/UI_view2d.h (+19, -6) (Diff)
/source/blender/editors/interface/view2d.c (+245, -5) (Diff)
/source/blender/editors/screen/screen_ops.c (+3, -0) (Diff)
/source/blender/editors/screen/spacetypes.c (+2, -0) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+31, -12) (Diff)
/source/blender/editors/space_time/space_time.c (+19, -15) (Diff)
/source/blender/editors/space_time/time_ops.c (+4, -4) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+4, -1) (Diff)
/source/blender/makesdna/DNA_view2d_types.h (+16, -8) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_util.h (+2, -2) (Diff)
/source/blender/nodes/intern/SHD_util.h (+2, -2) (Diff)
/SConstruct (+2, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+13, -0) (Diff)
/source/blender/editors/include/UI_view2d.h (+19, -6) (Diff)
/source/blender/editors/interface/view2d.c (+245, -5) (Diff)
/source/blender/editors/screen/screen_ops.c (+3, -0) (Diff)
/source/blender/editors/screen/spacetypes.c (+2, -0) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+31, -12) (Diff)
/source/blender/editors/space_time/space_time.c (+19, -15) (Diff)
/source/blender/editors/space_time/time_ops.c (+4, -4) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+4, -1) (Diff)
/source/blender/makesdna/DNA_view2d_types.h (+16, -8) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_util.h (+2, -2) (Diff)
/source/blender/nodes/intern/SHD_util.h (+2, -2) (Diff)