[Bf-blender-cvs] [2438045] GPencil_FillStrokes: Code cleanup: renamed function for drawing 2D strokes to make more sense now
Joshua Leung
noreply at git.blender.org
Wed Oct 29 13:45:04 CET 2014
Commit: 24380454dac4e594426afcaf696c444bd450a018
Author: Joshua Leung
Date: Thu Oct 30 01:38:19 2014 +1300
Branches: GPencil_FillStrokes
https://developer.blender.org/rB24380454dac4e594426afcaf696c444bd450a018
Code cleanup: renamed function for drawing 2D strokes to make more sense now
===================================================================
M source/blender/editors/gpencil/drawgpencil.c
===================================================================
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c
index 189618f..e48345c 100644
--- a/source/blender/editors/gpencil/drawgpencil.c
+++ b/source/blender/editors/gpencil/drawgpencil.c
@@ -394,8 +394,8 @@ static void gp_draw_stroke_3d(bGPDspoint *points, int totpoints, short thickness
/* ----- Fancy 2D-Stroke Drawing ------ */
/* draw a given stroke in 2d */
-static void gp_draw_stroke(bGPDspoint *points, int totpoints, short thickness_s, short dflag, short sflag,
- short debug, int offsx, int offsy, int winx, int winy)
+static void gp_draw_stroke_2d(bGPDspoint *points, int totpoints, short thickness_s, short dflag, short sflag,
+ short debug, int offsx, int offsy, int winx, int winy)
{
/* otherwise thickness is twice that of the 3D view */
float thickness = (float)thickness_s * 0.5f;
More information about the Bf-blender-cvs
mailing list