Commit: 32455e230aaf22302cf4bdd5846e0a43020d75ad
Author: Lukas Tönne
Date:   Wed Apr 20 12:34:04 2016 +0200
Branches: strand_editmode
https://developer.blender.org/rB32455e230aaf22302cf4bdd5846e0a43020d75ad

Fix unused function warning.

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

M       source/blender/editors/hair/hair_stroke.c

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

diff --git a/source/blender/editors/hair/hair_stroke.c 
b/source/blender/editors/hair/hair_stroke.c
index a7608dd..c73e084 100644
--- a/source/blender/editors/hair/hair_stroke.c
+++ b/source/blender/editors/hair/hair_stroke.c
@@ -212,7 +212,7 @@ bool hair_test_vertex_inside_lasso(HairViewData *viewdata, 
const int mcoords[][2
 typedef void (*VertexToolCb)(HairToolData *data, void *userdata, BMVert *v, 
float factor);
 
 /* apply tool directly to each vertex inside the filter area */
-static int hair_tool_apply_vertex(HairToolData *data, VertexToolCb cb, void 
*userdata)
+static int UNUSED_FUNCTION(hair_tool_apply_vertex)(HairToolData *data, 
VertexToolCb cb, void *userdata)
 {
        BMesh *bm = data->edit->base.bm;
        Scene *scene = data->scene;
@@ -477,7 +477,6 @@ bool hair_brush_step(HairToolData *data)
                        else
                                combdata.power = 1.0f - combdata.power;
                        
-                       /*tot = hair_tool_apply_vertex(data, hair_vertex_comb, 
&combdata);*/ /* UNUSED */
                        tot = hair_tool_apply_edge(data, hair_edge_comb, 
&combdata);
                        break;
                }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to