Blender Git Commit Log
Git Commits -> Revision 6fe19cf
Revision 6fe19cf by Ton Roosendaal (master) December 16, 2008, 12:28 (GMT) |
2.5 Work on getting notifiers in shape. - Most important: local (to own region or area) redraw notifiers have been depricated. This is not a good or correct notifier anyway. Notifiers should be signals to other areas. - Instead use these 2 functions: ED_area_tag_redraw(area); ED_region_tag_redraw(region); It seems to me good convention to keep the area/region redraw tag itself protected everywhere, for future improvements. - Also added a basic WM function that checks overlapping regions, and flushes redraws to underlying regions. This makes menus and buttons allow to only send local region redraws. (Brought back two "swapbuffer indicators" to test this. - Todo: area 'action zone' redraws, and fixing other notifiers... sending data pointers in a notifier seems to be bad idea. |
Commit Details:
Full Hash: 6fe19cfc85a75f0ec6bb46a70fc9c849108b41ca
SVN Revision: 17890
Parent Commit: f518fa8
Lines Changed: +100, -52
16 Modified Paths:
/source/blender/editors/include/ED_screen.h (+2, -0) (Diff)
/source/blender/editors/include/UI_view2d.h (+3, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+9, -8) (Diff)
/source/blender/editors/interface/interface_regions.c (+2, -2) (Diff)
/source/blender/editors/interface/view2d.c (+1, -1) (Diff)
/source/blender/editors/interface/view2d_ops.c (+6, -4) (Diff)
/source/blender/editors/screen/area.c (+26, -8) (Diff)
/source/blender/editors/screen/screen_edit.c (+5, -2) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+6, -1) (Diff)
/source/blender/editors/space_time/ed_markers.c (+7, -7) (Diff)
/source/blender/editors/space_time/space_time.c (+1, -1) (Diff)
/source/blender/editors/space_time/time_header.c (+4, -4) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+5, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+21, -8) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+2, -2) (Diff)
/source/blender/windowmanager/WM_types.h (+0, -2) (Diff)
/source/blender/editors/include/UI_view2d.h (+3, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+9, -8) (Diff)
/source/blender/editors/interface/interface_regions.c (+2, -2) (Diff)
/source/blender/editors/interface/view2d.c (+1, -1) (Diff)
/source/blender/editors/interface/view2d_ops.c (+6, -4) (Diff)
/source/blender/editors/screen/area.c (+26, -8) (Diff)
/source/blender/editors/screen/screen_edit.c (+5, -2) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+6, -1) (Diff)
/source/blender/editors/space_time/ed_markers.c (+7, -7) (Diff)
/source/blender/editors/space_time/space_time.c (+1, -1) (Diff)
/source/blender/editors/space_time/time_header.c (+4, -4) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+5, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+21, -8) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+2, -2) (Diff)
/source/blender/windowmanager/WM_types.h (+0, -2) (Diff)