Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2009-02-15 14:41:22 +0300
committerTon Roosendaal <ton@blender.org>2009-02-15 14:41:22 +0300
commit50f789e9e8a379975e3d2708e13b99808615ee5c (patch)
treebadcf9cf10b32133e211220e7f314acd330cc781 /source/blender/editors/space_graph/space_graph.c
parent844db375593d2a02f9182f9c195316de01253b67 (diff)
2.5
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!)
Diffstat (limited to 'source/blender/editors/space_graph/space_graph.c')
-rw-r--r--source/blender/editors/space_graph/space_graph.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_graph/space_graph.c b/source/blender/editors/space_graph/space_graph.c
index 50c8bcaa1ea..07a287ca4fc 100644
--- a/source/blender/editors/space_graph/space_graph.c
+++ b/source/blender/editors/space_graph/space_graph.c
@@ -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)