2.5
authorTon Roosendaal <ton@blender.org>
Sun, 15 Feb 2009 11:41:22 +0000 (11:41 +0000)
committerTon Roosendaal <ton@blender.org>
Sun, 15 Feb 2009 11:41:22 +0000 (11:41 +0000)
Graph editor: added refresh tagging on initialize; this is called
on browsing space types, as well on read files or switch screens.

(Makes the fancy fluorescent rainbow colors in channels appear!)

source/blender/editors/space_graph/space_graph.c

index 50c8bcaa1eabd9811eba48be691b1f620903cfb3..07a287ca4fcaf43a11b9881f26cbc74f6b0105c8 100644 (file)
@@ -141,6 +141,8 @@ static void graph_init(struct wmWindowManager *wm, ScrArea *sa)
        /* init dopesheet data if non-existant (i.e. for old files) */
        if (sipo->ads == NULL)
                sipo->ads= MEM_callocN(sizeof(bDopeSheet), "GraphEdit DopeSheet");
+
+       ED_area_tag_refresh(sa);
 }
 
 static SpaceLink *graph_duplicate(SpaceLink *sl)