diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-03 16:44:16 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-03 16:44:16 +0300 |
commit | 167ac3606b0ac42d2e005cb6e80cead0bf140f30 (patch) | |
tree | 0cd99e160bce021babff84c81eb50c2a625f0002 /source/blender/editors/space_time/time_ops.c | |
parent | d8ed4c389c750f0513a7024fa5dadeb28c05749b (diff) |
2.5
- Made view2d manipulations redraw on area level
- simplified call to send Notifiers:
WM_event_add_notifier(bContext *C, int type, int value, void *data)
This brings back more control to WM, no context messing within
operators. :) Handlers that execute operators will be responsible
for delivering correct contextes.
In general: should lead to making context not exposed, but only
readable via some callbacks.
Diffstat (limited to 'source/blender/editors/space_time/time_ops.c')
-rw-r--r-- | source/blender/editors/space_time/time_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_time/time_ops.c b/source/blender/editors/space_time/time_ops.c index 657cf30e17e..207804dae3e 100644 --- a/source/blender/editors/space_time/time_ops.c +++ b/source/blender/editors/space_time/time_ops.c @@ -85,7 +85,7 @@ static void change_frame_apply(bContext *C, wmOperator *op) if(cfra!=CFRA) CFRA= cfra; - WM_event_add_notifier(C->wm, C->window, 0, WM_NOTE_SCREEN_CHANGED, 0, NULL); + WM_event_add_notifier(C, WM_NOTE_SCREEN_CHANGED, 0, NULL); /* XXX: add WM_NOTE_TIME_CHANGED? */ } |