[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23714] trunk/blender/source/blender/ editors/screen/screen_ops.c: Alt+A in the sequencer now redraws other sequencer views, not ideal but ok for now.

Campbell Barton ideasman42 at gmail.com
Thu Oct 8 14:33:51 CEST 2009


Revision: 23714
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23714
Author:   campbellbarton
Date:     2009-10-08 14:33:51 +0200 (Thu, 08 Oct 2009)

Log Message:
-----------
Alt+A in the sequencer now redraws other sequencer views, not ideal but ok for now.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/screen/screen_ops.c

Modified: trunk/blender/source/blender/editors/screen/screen_ops.c
===================================================================
--- trunk/blender/source/blender/editors/screen/screen_ops.c	2009-10-08 12:13:23 UTC (rev 23713)
+++ trunk/blender/source/blender/editors/screen/screen_ops.c	2009-10-08 12:33:51 UTC (rev 23714)
@@ -2347,7 +2347,14 @@
 			ED_screen_animation_timer_update(C, stime->redraws);
 		}
 		else {
-			ED_screen_animation_timer(C, TIME_REGION|TIME_ALL_3D_WIN, sync, mode);
+			int redraws = TIME_REGION|TIME_ALL_3D_WIN;
+
+			/* XXX - would like a better way to deal with this situation - Campbell */
+			if((sa) && (sa->spacetype == SPACE_SEQ)) {
+				redraws |= TIME_SEQ;
+			}
+
+			ED_screen_animation_timer(C, redraws, sync, mode);
 			
 			if(screen->animtimer) {
 				wmTimer *wt= screen->animtimer;





More information about the Bf-blender-cvs mailing list