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!)
This commit is contained in:
Ton Roosendaal
2009-02-15 11:41:22 +00:00
parent 844db37559
commit 50f789e9e8

View 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)