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:
authorCampbell Barton <ideasman42@gmail.com>2018-12-02 06:29:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-02 06:29:54 +0300
commit335e1b507b1ad0e7c2bafb2175dac15d3d1add83 (patch)
tree587dff5abd734ead55cd9e0f960cbdeb156cae87 /source/blender/editors
parentc00e1f68e9b81cc4972dabb869d1b6993a3bc767 (diff)
Cleanup: BKE b-bone API naming
Use BKE_pchan_bbone prefix.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/armature/armature_skinning.c2
-rw-r--r--source/blender/editors/space_view3d/drawarmature.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/armature/armature_skinning.c b/source/blender/editors/armature/armature_skinning.c
index 8ab8d60af75..474e25f8067 100644
--- a/source/blender/editors/armature/armature_skinning.c
+++ b/source/blender/editors/armature/armature_skinning.c
@@ -322,7 +322,7 @@ static void add_verts_to_dgroups(ReportList *reports, Scene *scene, Object *ob,
if ((par->pose) && (pchan = BKE_pose_channel_find_name(par->pose, bone->name))) {
if (bone->segments > 1) {
segments = bone->segments;
- b_bone_spline_setup(pchan, 1, bbone_array);
+ BKE_pchan_bbone_spline_setup(pchan, 1, bbone_array);
bbone = bbone_array;
}
}
diff --git a/source/blender/editors/space_view3d/drawarmature.c b/source/blender/editors/space_view3d/drawarmature.c
index ec15725d635..0c3b1a21f71 100644
--- a/source/blender/editors/space_view3d/drawarmature.c
+++ b/source/blender/editors/space_view3d/drawarmature.c
@@ -1092,7 +1092,7 @@ static void draw_line_bone(int armflag, int boneflag, short constflag, unsigned
glPopMatrix();
}
-/* A partial copy of b_bone_spline_setup(), with just the parts for previewing editmode curve settings
+/* A partial copy of BKE_pchan_bbone_spline_setup(), with just the parts for previewing editmode curve settings
*
* This assumes that prev/next bones don't have any impact (since they should all still be in the "straight"
* position here anyway), and that we can simply apply the bbone settings to get the desired effect...
@@ -1181,7 +1181,7 @@ static void draw_b_bone_boxes(const short dt, bPoseChannel *pchan, EditBone *ebo
int a;
if (pchan) {
- b_bone_spline_setup(pchan, 0, bbone);
+ BKE_pchan_bbone_spline_setup(pchan, 0, bbone);
}
else if (ebone) {
ebone_spline_preview(ebone, bbone);
@@ -1328,7 +1328,7 @@ static void draw_wire_bone(const short dt, int armflag, int boneflag, short cons
length = pchan->bone->length;
if (segments > 1) {
- b_bone_spline_setup(pchan, 0, bbones_array);
+ BKE_pchan_bbone_spline_setup(pchan, 0, bbones_array);
bbones = bbones_array;
}
}