[Bf-blender-cvs] [2a7b44e33d7] active-fcurve-keyframe: Cleanup: Use const for FCurve

Hans Goudey noreply at git.blender.org
Thu Jul 16 20:16:22 CEST 2020


Commit: 2a7b44e33d7b1f744cc39ce402e7712e8b3aa6d3
Author: Hans Goudey
Date:   Wed Jun 3 15:05:42 2020 -0400
Branches: active-fcurve-keyframe
https://developer.blender.org/rB2a7b44e33d7b1f744cc39ce402e7712e8b3aa6d3

Cleanup: Use const for FCurve

===================================================================

M	source/blender/editors/space_graph/graph_buttons.c

===================================================================

diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c
index 0cb81c530c8..1b702f2d7e7 100644
--- a/source/blender/editors/space_graph/graph_buttons.c
+++ b/source/blender/editors/space_graph/graph_buttons.c
@@ -235,7 +235,7 @@ static void graph_panel_properties(const bContext *C, Panel *panel)
 /* ******************* active Keyframe ************** */
 
 /* get 'active' keyframe for panel editing */
-static bool get_active_fcurve_keyframe_edit(FCurve *fcu,
+static bool get_active_fcurve_keyframe_edit(const FCurve *fcu,
                                             BezTriple **r_bezt,
                                             BezTriple **r_prevbezt)
 {



More information about the Bf-blender-cvs mailing list