[Bf-blender-cvs] [aed2a49571d] greasepencil-object: Cleanup: Whitespace

Joshua Leung noreply at git.blender.org
Wed Dec 13 10:28:52 CET 2017


Commit: aed2a49571d66eccde85a35d3ecace717307d43b
Author: Joshua Leung
Date:   Wed Dec 13 22:18:37 2017 +1300
Branches: greasepencil-object
https://developer.blender.org/rBaed2a49571d66eccde85a35d3ecace717307d43b

Cleanup: Whitespace

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

M	source/blender/blenkernel/intern/gpencil.c

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

diff --git a/source/blender/blenkernel/intern/gpencil.c b/source/blender/blenkernel/intern/gpencil.c
index 77f43f7b3f0..0c8fb905f10 100644
--- a/source/blender/blenkernel/intern/gpencil.c
+++ b/source/blender/blenkernel/intern/gpencil.c
@@ -2385,13 +2385,14 @@ bool BKE_gpencil_vgroup_remove_point_weight(bGPDspoint *pt, int index)
 
 
 /* ************************************************** */
+
 /**
-* Apply smooth to stroke point
-* \param gps              Stroke to smooth
-* \param i                Point index
-* \param inf              Amount of smoothing to apply
-* \param affect_pressure  Apply smoothing to pressure values too?
-*/
+ * Apply smooth to stroke point
+ * \param gps              Stroke to smooth
+ * \param i                Point index
+ * \param inf              Amount of smoothing to apply
+ * \param affect_pressure  Apply smoothing to pressure values too?
+ */
 bool BKE_gp_smooth_stroke(bGPDstroke *gps, int i, float inf, bool affect_pressure)
 {
 	bGPDspoint *pt = &gps->points[i];
@@ -2468,11 +2469,11 @@ bool BKE_gp_smooth_stroke(bGPDstroke *gps, int i, float inf, bool affect_pressur
 }
 
 /**
-* Apply smooth for strength to stroke point
-* \param gps              Stroke to smooth
-* \param i                Point index
-* \param inf              Amount of smoothing to apply
-*/
+ * Apply smooth for strength to stroke point
+ * \param gps              Stroke to smooth
+ * \param i                Point index
+ * \param inf              Amount of smoothing to apply
+ */
 bool BKE_gp_smooth_stroke_strength(bGPDstroke *gps, int i, float inf)
 {
 	bGPDspoint *ptb = &gps->points[i];
@@ -2506,11 +2507,11 @@ bool BKE_gp_smooth_stroke_strength(bGPDstroke *gps, int i, float inf)
 }
 
 /**
-* Apply smooth for thickness to stroke point (use pressure)
-* \param gps              Stroke to smooth
-* \param i                Point index
-* \param inf              Amount of smoothing to apply
-*/
+ * Apply smooth for thickness to stroke point (use pressure)
+ * \param gps              Stroke to smooth
+ * \param i                Point index
+ * \param inf              Amount of smoothing to apply
+ */
 bool BKE_gp_smooth_stroke_thickness(bGPDstroke *gps, int i, float inf)
 {
 	bGPDspoint *ptb = &gps->points[i];
@@ -2544,13 +2545,13 @@ bool BKE_gp_smooth_stroke_thickness(bGPDstroke *gps, int i, float inf)
 }
 
 /**
-* Get range of selected frames in layer.
-* Always the active frame is considered as selected, so if no more selected the range
-* will be equal to the current active frame.
-* \param gpl              Layer
-* \param r_initframe      Number of first selected frame
-* \param r_endframe       Number of last selected frame
-*/
+ * Get range of selected frames in layer.
+ * Always the active frame is considered as selected, so if no more selected the range
+ * will be equal to the current active frame.
+ * \param gpl              Layer
+ * \param r_initframe      Number of first selected frame
+ * \param r_endframe       Number of last selected frame
+ */
 void BKE_gp_get_range_selected(bGPDlayer *gpl, int *r_initframe, int *r_endframe)
 {
 	*r_initframe = gpl->actframe->framenum;
@@ -2567,14 +2568,15 @@ void BKE_gp_get_range_selected(bGPDlayer *gpl, int *r_initframe, int *r_endframe
 		}
 	}
 }
+
 /**
-* Get Falloff factor base on frame range
-* \param gpf          Frame
-* \param actnum       Number of active frame in layer
-* \param f_init       Number of first selected frame
-* \param f_end        Number of last selected frame
-* \param cur_falloff  Curve with falloff factors
-*/
+ * Get Falloff factor base on frame range
+ * \param gpf          Frame
+ * \param actnum       Number of active frame in layer
+ * \param f_init       Number of first selected frame
+ * \param f_end        Number of last selected frame
+ * \param cur_falloff  Curve with falloff factors
+ */
 float BKE_gpencil_multiframe_falloff_calc(bGPDframe *gpf, int actnum, int f_init, int f_end, CurveMapping *cur_falloff)
 {
 	float fnum = 0.5f; /* default mid curve */



More information about the Bf-blender-cvs mailing list