[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46072] trunk/blender/source/blender/ editors/space_graph/space_graph.c: Bugfix [#31029] Select all in view3D don 't update the graph editor immediately

Joshua Leung aligorith at gmail.com
Sun Apr 29 15:24:10 CEST 2012


Revision: 46072
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46072
Author:   aligorith
Date:     2012-04-29 13:24:10 +0000 (Sun, 29 Apr 2012)
Log Message:
-----------
Bugfix [#31029] Select all in view3D don't update the graph editor immediately

One-liner fix. The code was assuming that editor.refresh() would do a
editor.redraw() too (like for Dopesheet), but that wasn't the case.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_graph/space_graph.c

Modified: trunk/blender/source/blender/editors/space_graph/space_graph.c
===================================================================
--- trunk/blender/source/blender/editors/space_graph/space_graph.c	2012-04-29 13:20:28 UTC (rev 46071)
+++ trunk/blender/source/blender/editors/space_graph/space_graph.c	2012-04-29 13:24:10 UTC (rev 46072)
@@ -516,6 +516,7 @@
 	if (sipo->flag & SIPO_TEMP_NEEDCHANSYNC) {
 		ANIM_sync_animchannels_to_data(C);
 		sipo->flag &= ~SIPO_TEMP_NEEDCHANSYNC;
+		ED_area_tag_redraw(sa);
 	}
 	
 	/* init/adjust F-Curve colors */




More information about the Bf-blender-cvs mailing list