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:
authorJoshua Leung <aligorith@gmail.com>2018-05-23 19:29:52 +0300
committerJoshua Leung <aligorith@gmail.com>2018-05-23 19:29:52 +0300
commit342d94c3753ca939ac5fbe670b95e77b5bf4c9a9 (patch)
tree907d6c45c83408864bb75bdf31fa94e00b6d0e21 /source/blender/editors/space_graph
parent7e7680e33bb424e3ff99930f46ebfc00c9271d23 (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.c4
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 */