Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/screen/screen_ops.c
| Show First 20 Lines • Show All 4,323 Lines • ▼ Show 20 Lines | switch (spacetype) { | ||||
| if ((redraws & TIME_CLIPS) || from_anim_edit) { | if ((redraws & TIME_CLIPS) || from_anim_edit) { | ||||
| return true; | return true; | ||||
| } | } | ||||
| break; | break; | ||||
| default: | default: | ||||
| break; | break; | ||||
| } | } | ||||
| } | } | ||||
| else if (regiontype == RGN_TYPE_CHANNELS) { | |||||
| switch (spacetype) { | |||||
| case SPACE_GRAPH: | |||||
| case SPACE_ACTION: | |||||
| case SPACE_NLA: | |||||
| if (redraws & TIME_ALL_ANIM_WIN) { | |||||
| return true; | |||||
| } | |||||
| break; | |||||
| default: | |||||
| break; | |||||
| } | |||||
| } | |||||
| else if (regiontype == RGN_TYPE_UI) { | else if (regiontype == RGN_TYPE_UI) { | ||||
| if (spacetype == SPACE_CLIP) { | if (spacetype == SPACE_CLIP) { | ||||
| /* Track Preview button is on Properties Editor in SpaceClip, | /* Track Preview button is on Properties Editor in SpaceClip, | ||||
| * and it's very common case when users want it be refreshing | * and it's very common case when users want it be refreshing | ||||
| * during playback, so asking people to enable special option | * during playback, so asking people to enable special option | ||||
| * for this is a bit tricky, so add exception here for refreshing | * for this is a bit tricky, so add exception here for refreshing | ||||
| * Properties Editor for SpaceClip always */ | * Properties Editor for SpaceClip always */ | ||||
| return true; | return true; | ||||
| ▲ Show 20 Lines • Show All 1,260 Lines • Show Last 20 Lines | |||||