diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-18 01:34:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-18 01:34:41 +0300 |
commit | 27e812d69702c43313af8a5521841fd7f4da69f1 (patch) | |
tree | b54543b140c5d38a46eef7ddf189adfaaafe8d54 /source/blender/editors/armature/editarmature_sketch.c | |
parent | 456ca98564555bb072e0e72b64f790e4b8c6ceec (diff) |
Clear some compiler warnings by commenting some functions, adding others to headers.
left in warnings where functions obviously need to get ported to 2.5x still.
Also, render stamp seq strip works again.
Diffstat (limited to 'source/blender/editors/armature/editarmature_sketch.c')
-rw-r--r-- | source/blender/editors/armature/editarmature_sketch.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/armature/editarmature_sketch.c b/source/blender/editors/armature/editarmature_sketch.c index 8e1206ad0b3..c0b77b5feef 100644 --- a/source/blender/editors/armature/editarmature_sketch.c +++ b/source/blender/editors/armature/editarmature_sketch.c @@ -76,7 +76,10 @@ typedef struct SK_GestureAction { GestureApplyFct apply; } SK_GestureAction; +#if 0 /* UNUSED 2.5 */ static SK_Point boneSnap; +#endif + static int LAST_SNAP_POINT_VALID = 0; static float LAST_SNAP_POINT[3]; @@ -727,6 +730,7 @@ static SK_Point *sk_snapPointStroke(bContext *C, SK_Stroke *stk, short mval[2], return pt; } +#if 0 /* UNUSED 2.5 */ static SK_Point *sk_snapPointArmature(bContext *C, Object *ob, ListBase *ebones, short mval[2], int *dist) { ARegion *ar = CTX_wm_region(C); @@ -774,6 +778,7 @@ static SK_Point *sk_snapPointArmature(bContext *C, Object *ob, ListBase *ebones, return pt; } +#endif void sk_resetOverdraw(SK_Sketch *sketch) { @@ -2198,6 +2203,7 @@ static int sk_selectStroke(bContext *C, SK_Sketch *sketch, short mval[2], int ex return 0; } +#if 0 /* UNUSED 2.5 */ static void sk_queueRedrawSketch(SK_Sketch *sketch) { if (sketch->active_stroke != NULL) @@ -2211,6 +2217,7 @@ static void sk_queueRedrawSketch(SK_Sketch *sketch) } } } +#endif static void sk_drawSketch(Scene *scene, View3D *UNUSED(v3d), SK_Sketch *sketch, int with_names) { |