diff options
-rw-r--r-- | source/blender/blenkernel/BKE_curves.hh | 2 | ||||
-rw-r--r-- | source/blender/editors/space_graph/graph_slider_ops.c | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/blenkernel/BKE_curves.hh b/source/blender/blenkernel/BKE_curves.hh index 6bcbb0f6e66..0f0b77902cc 100644 --- a/source/blender/blenkernel/BKE_curves.hh +++ b/source/blender/blenkernel/BKE_curves.hh @@ -50,7 +50,7 @@ class CurvesGeometryRuntime { /** * A C++ class that wraps the DNA struct for better encapsulation and ease of use. It inherits - * directly from the struct rather than storing a pointer to avoid more complcated ownership + * directly from the struct rather than storing a pointer to avoid more complicated ownership * handling. */ class CurvesGeometry : public ::CurvesGeometry { diff --git a/source/blender/editors/space_graph/graph_slider_ops.c b/source/blender/editors/space_graph/graph_slider_ops.c index 2aebc6f2eeb..1a3355b0139 100644 --- a/source/blender/editors/space_graph/graph_slider_ops.c +++ b/source/blender/editors/space_graph/graph_slider_ops.c @@ -163,9 +163,11 @@ static void reset_bezts(tGraphSliderOp *gso) ANIM_animdata_freelist(&anim_data); } -/* Get factor value and store it in RNA property. Custom data of wmOperator needs to contain - * tGraphSliderOp. */ -const float slider_factor_get_and_remember(wmOperator *op) +/** + * Get factor value and store it in RNA property. + * Custom data of #wmOperator needs to contain #tGraphSliderOp. + */ +static float slider_factor_get_and_remember(wmOperator *op) { tGraphSliderOp *gso = op->customdata; const float factor = ED_slider_factor_get(gso->slider); |