- sequence strips without scenes would crash on display
[blender.git] / source / blender / editors / screen / screen_ops.c
index 977d04a7f45e64b7127b19c951782dafffe1d658..55a977da663d17b4be0b376e4efd36b0828f631e 100644 (file)
@@ -2332,6 +2332,14 @@ static int match_region_with_redraws(int spacetype, int regiontype, int redraws)
                if(spacetype==SPACE_TIME)
                        return 1;
        }
+       else if (regiontype==RGN_TYPE_PREVIEW) {
+               switch (spacetype) {
+                       case SPACE_SEQ:
+                               if(redraws & (TIME_SEQ|TIME_ALL_ANIM_WIN))
+                                       return 1;
+                               break;
+               }
+       }
        return 0;
 }