Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2017-02-23 13:14:19 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-02-24 12:10:24 +0300
commit4c8d8da2e7c8c0ae82f36aeef2356128df567466 (patch)
treee670368f7f8bd3c82e84fc43aebee313f6fddad7 /source/blender/draw/intern/draw_armature.c
parent9dd86e275865068165b73ec4fcd87c25855ab0fa (diff)
Silence warnings in draw_armature.c
Also add note about incomplete functions there
Diffstat (limited to 'source/blender/draw/intern/draw_armature.c')
-rw-r--r--source/blender/draw/intern/draw_armature.c19
1 files changed, 12 insertions, 7 deletions
diff --git a/source/blender/draw/intern/draw_armature.c b/source/blender/draw/intern/draw_armature.c
index 68d1b3d7ea4..24a183d38ca 100644
--- a/source/blender/draw/intern/draw_armature.c
+++ b/source/blender/draw/intern/draw_armature.c
@@ -82,7 +82,7 @@ static void update_color(const float const_color[4])
UI_GetThemeColor4fv(TH_VERTEX, colorVertex);
}
-static const float *get_bone_solid_color(EditBone *eBone, bPoseChannel *pchan, bArmature *arm)
+static const float *get_bone_solid_color(EditBone *eBone, bPoseChannel *UNUSED(pchan), bArmature *UNUSED(arm))
{
if (constColor)
return colorBoneSolid;
@@ -96,7 +96,7 @@ static const float *get_bone_solid_color(EditBone *eBone, bPoseChannel *pchan, b
return colorBoneSolid;
}
-static const float *get_bone_wire_color(EditBone *eBone, bPoseChannel *pchan, bArmature *arm)
+static const float *get_bone_wire_color(EditBone *eBone, bPoseChannel *UNUSED(pchan), bArmature *UNUSED(arm))
{
if (constColor)
return constColor;
@@ -210,24 +210,29 @@ static void draw_points(EditBone *eBone, bPoseChannel *pchan, bArmature *arm)
DRW_shgroup_bone_point_wire(BONE_VAR(eBone, pchan, disp_tail_mat), col_wire_tail);
}
-static void draw_bone_custom_shape(EditBone *eBone, bPoseChannel *pchan, bArmature *arm)
+static void draw_bone_custom_shape(EditBone *UNUSED(eBone), bPoseChannel *UNUSED(pchan), bArmature *UNUSED(arm))
{
+ /* work in progress -- fclem */
}
-static void draw_bone_envelope(EditBone *eBone, bPoseChannel *pchan, bArmature *arm)
+static void draw_bone_envelope(EditBone *UNUSED(eBone), bPoseChannel *UNUSED(pchan), bArmature *UNUSED(arm))
{
+ /* work in progress -- fclem */
}
-static void draw_bone_line(EditBone *eBone, bPoseChannel *pchan, bArmature *arm)
+static void draw_bone_line(EditBone *UNUSED(eBone), bPoseChannel *UNUSED(pchan), bArmature *UNUSED(arm))
{
+ /* work in progress -- fclem */
}
-static void draw_bone_wire(EditBone *eBone, bPoseChannel *pchan, bArmature *arm)
+static void draw_bone_wire(EditBone *UNUSED(eBone), bPoseChannel *UNUSED(pchan), bArmature *UNUSED(arm))
{
+ /* work in progress -- fclem */
}
-static void draw_bone_box(EditBone *eBone, bPoseChannel *pchan, bArmature *arm)
+static void draw_bone_box(EditBone *UNUSED(eBone), bPoseChannel *UNUSED(pchan), bArmature *UNUSED(arm))
{
+ /* work in progress -- fclem */
}
static void draw_bone_octahedral(EditBone *eBone, bPoseChannel *pchan, bArmature *arm)