[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [15545] trunk/blender/source/blender/src: Patch #17285: fix for bug #14685: frame counter not always updating while scrubbing

Joshua Leung aligorith at gmail.com
Sat Jul 12 08:49:33 CEST 2008


Revision: 15545
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15545
Author:   aligorith
Date:     2008-07-12 08:49:33 +0200 (Sat, 12 Jul 2008)

Log Message:
-----------
Patch #17285: fix for bug #14685: frame counter not always updating while scrubbing 

Patch submitted by Roelf De Kock (kiemdoder) 

The parts of the patch affecting the timeline were have not been committed, as there was a better solution.

Modified Paths:
--------------
    trunk/blender/source/blender/src/editsound.c
    trunk/blender/source/blender/src/space.c

Modified: trunk/blender/source/blender/src/editsound.c
===================================================================
--- trunk/blender/source/blender/src/editsound.c	2008-07-12 06:44:57 UTC (rev 15544)
+++ trunk/blender/source/blender/src/editsound.c	2008-07-12 06:49:33 UTC (rev 15545)
@@ -148,7 +148,7 @@
 					first= 0;
 					CFRA= cfra;
 					update_for_newframe();
-					force_draw_plus(SPACE_VIEW3D, 1);
+					force_draw_all(0);
 				}
 				else PIL_sleep_ms(30);
 			

Modified: trunk/blender/source/blender/src/space.c
===================================================================
--- trunk/blender/source/blender/src/space.c	2008-07-12 06:44:57 UTC (rev 15544)
+++ trunk/blender/source/blender/src/space.c	2008-07-12 06:49:33 UTC (rev 15545)
@@ -4844,9 +4844,9 @@
 					
 					if( cfra!=CFRA || first ) {
 						first= 0;
-				
+						
 						CFRA= cfra;
-						force_draw(0);
+						force_draw_all(0);
 						update_for_newframe();	/* for audio scrubbing */						
 					}
 					else PIL_sleep_ms(30);





More information about the Bf-blender-cvs mailing list