Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 582 Lines • ▼ Show 20 Lines | else if (t->spacetype == SPACE_VIEW3D) { | ||||
| if (t->options & CTX_PAINT_CURVE) { | if (t->options & CTX_PAINT_CURVE) { | ||||
| wmWindow *window = CTX_wm_window(C); | wmWindow *window = CTX_wm_window(C); | ||||
| WM_paint_cursor_tag_redraw(window, t->ar); | WM_paint_cursor_tag_redraw(window, t->ar); | ||||
| } | } | ||||
| else { | else { | ||||
| /* Do we need more refined tags? */ | /* Do we need more refined tags? */ | ||||
| if (t->flag & T_POSE) { | if (t->flag & T_POSE) { | ||||
| WM_event_add_notifier(C, NC_OBJECT | ND_POSE, NULL); | WM_event_add_notifier(C, NC_OBJECT | ND_POSE, NULL); | ||||
| WM_event_add_notifier(C, NC_OBJECT | ND_BONE_ACTIVE, NULL); | |||||
| } | } | ||||
| else { | else { | ||||
| WM_event_add_notifier(C, NC_OBJECT | ND_TRANSFORM, NULL); | WM_event_add_notifier(C, NC_OBJECT | ND_TRANSFORM, NULL); | ||||
| } | } | ||||
| /* For real-time animation record - send notifiers recognized by animation editors */ | /* For real-time animation record - send notifiers recognized by animation editors */ | ||||
| // XXX: is this notifier a lame duck? | // XXX: is this notifier a lame duck? | ||||
| if ((t->animtimer) && IS_AUTOKEY_ON(t->scene)) { | if ((t->animtimer) && IS_AUTOKEY_ON(t->scene)) { | ||||
| ▲ Show 20 Lines • Show All 9,223 Lines • Show Last 20 Lines | |||||