diff options
author | Joshua Leung <aligorith@gmail.com> | 2018-05-23 19:29:52 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2018-05-23 19:29:52 +0300 |
commit | 342d94c3753ca939ac5fbe670b95e77b5bf4c9a9 (patch) | |
tree | 907d6c45c83408864bb75bdf31fa94e00b6d0e21 /source/blender/editors/space_graph | |
parent | 7e7680e33bb424e3ff99930f46ebfc00c9271d23 (diff) |
Fix compiler error: Stupid const vs non const
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r-- | source/blender/editors/space_graph/graph_buttons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c index 67e139e5358..3c75bc5763d 100644 --- a/source/blender/editors/space_graph/graph_buttons.c +++ b/source/blender/editors/space_graph/graph_buttons.c @@ -994,9 +994,9 @@ static void graph_panel_drivers(const bContext *C, Panel *pa) /* ----------------------------------------------------------------- */ /* poll to make this not show up in the graph editor, as this is only to be used as a popup elsewhere */ -static int graph_panel_drivers_popover_poll(bContext *C, PanelType *UNUSED(pt)) +static int graph_panel_drivers_popover_poll(const bContext *C, PanelType *UNUSED(pt)) { - return ED_operator_graphedit_active(C) == false; + return ED_operator_graphedit_active((bContext *)C) == false; } /* popover panel for driver editing anywhere in ui */ |