From 6dafb89436c0b9bc35895262dda059c2729610c1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 18 Feb 2014 12:33:19 +1100 Subject: Fix FCurve reading freed themes, assert to prevent further misuse --- source/blender/editors/space_graph/space_graph.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/space_graph') diff --git a/source/blender/editors/space_graph/space_graph.c b/source/blender/editors/space_graph/space_graph.c index ccb98dfd13d..2aac3133b7b 100644 --- a/source/blender/editors/space_graph/space_graph.c +++ b/source/blender/editors/space_graph/space_graph.c @@ -548,6 +548,8 @@ static void graph_refresh(const bContext *C, ScrArea *sa) int filter; int i; + UI_SetTheme(SPACE_IPO, RGN_TYPE_WINDOW); + /* build list of F-Curves which will be visible as channels in channel-region * - we don't include ANIMFILTER_CURVEVISIBLE filter, as that will result in a * mismatch between channel-colors and the drawn curves -- cgit v1.2.3