Merging r39634 through r39716 from trunk into soc-2011-tomato
[blender-staging.git] / source / blender / editors / screen / screen_ops.c
index 0ac30853eaec7e5b3dcc009d4fc03d5bef79e0ab..807152c13a3b835437251ddfc4927477a125f561 100644 (file)
@@ -2769,10 +2769,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;
        }