diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-18 05:33:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-18 05:33:19 +0400 |
commit | 6dafb89436c0b9bc35895262dda059c2729610c1 (patch) | |
tree | 5cbabfd938addb7810dfa0e577b5cc105a7d1344 /source/blender/editors/space_graph/space_graph.c | |
parent | 410613ec098a19c12e35c4af13f71b65243ddd9d (diff) |
Fix FCurve reading freed themes, assert to prevent further misuse
Diffstat (limited to 'source/blender/editors/space_graph/space_graph.c')
-rw-r--r-- | source/blender/editors/space_graph/space_graph.c | 2 |
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 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 |