Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/screen/screen_ops.c')
-rw-r--r--source/blender/editors/screen/screen_ops.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index e86dd8dbde3..007a8f7e4d7 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -2783,10 +2783,23 @@ static int match_region_with_redraws(int spacetype, int regiontype, int redraws)
if(redraws & TIME_ALL_IMAGE_WIN)
return 1;
break;
+ case SPACE_CLIP:
+ if(redraws & TIME_CLIPS)
+ return 1;
+ break;
}
}
else if(regiontype==RGN_TYPE_UI) {
+ if(spacetype==SPACE_CLIP) {
+ /* Track Preview button is on Properties Editor in SpaceClip,
+ and it's very common case when users want it be refreshing
+ during playback, so asking people to enable special option
+ for this is a bit ticky, so add exception here for refreshing
+ Properties Editor for SpaceClip always */
+ return 1;
+ }
+
if(redraws & TIME_ALL_BUTS_WIN)
return 1;
}
@@ -2800,6 +2813,8 @@ static int match_region_with_redraws(int spacetype, int regiontype, int redraws)
if(redraws & (TIME_SEQ|TIME_ALL_ANIM_WIN))
return 1;
break;
+ case SPACE_CLIP:
+ return 1;
}
}
return 0;