Bugfix [#31029] Select all in view3D don't update the graph editor immediately
authorJoshua Leung <aligorith@gmail.com>
Sun, 29 Apr 2012 13:24:10 +0000 (13:24 +0000)
committerJoshua Leung <aligorith@gmail.com>
Sun, 29 Apr 2012 13:24:10 +0000 (13:24 +0000)
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.

source/blender/editors/space_graph/space_graph.c

index 447003804cecb6caf6b00d6de61e7e4f1911c5cb..1b60a0a39acb41cc599711767afb3395023dd346 100644 (file)
@@ -516,6 +516,7 @@ static void graph_refresh(const bContext *C, ScrArea *sa)
        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 */