diff options
-rw-r--r-- | source/blender/editors/space_graph/graph_edit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c index c605ba6776f..cb01b0d9dc8 100644 --- a/source/blender/editors/space_graph/graph_edit.c +++ b/source/blender/editors/space_graph/graph_edit.c @@ -2333,7 +2333,7 @@ static int graphkeys_snap_exec(bContext *C, wmOperator *op) return OPERATOR_FINISHED; } -bool graph_has_selected_control_points(struct bContext *C) +static bool graph_has_selected_control_points(struct bContext *C) { bAnimContext ac; ListBase anim_data = {NULL, NULL}; @@ -2363,9 +2363,9 @@ bool graph_has_selected_control_points(struct bContext *C) return has_selected_control_points; } -int graphkeys_selected_control_points_invoke(struct bContext *C, - struct wmOperator *op, - const struct wmEvent *event) +static int graphkeys_selected_control_points_invoke(struct bContext *C, + struct wmOperator *op, + const struct wmEvent *event) { if (!graph_has_selected_control_points(C)) { BKE_report(op->reports, RPT_ERROR, "No control points are selected"); |