Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/armature/armature_skinning.c
| Show First 20 Lines • Show All 312 Lines • ▼ Show 20 Lines | for (j = 0; j < numbones; ++j) { | ||||
| if (heat) { | if (heat) { | ||||
| if (segments == 0) { | if (segments == 0) { | ||||
| segments = 1; | segments = 1; | ||||
| bbone = NULL; | bbone = NULL; | ||||
| if ((par->pose) && (pchan = BKE_pose_channel_find_name(par->pose, bone->name))) { | if ((par->pose) && (pchan = BKE_pose_channel_find_name(par->pose, bone->name))) { | ||||
| if (bone->segments > 1) { | if (bone->segments > 1) { | ||||
| segments = bone->segments; | segments = bone->segments; | ||||
| BKE_pchan_bbone_spline_setup(pchan, true, bbone_array); | BKE_pchan_bbone_spline_setup(pchan, true, false, bbone_array); | ||||
| bbone = bbone_array; | bbone = bbone_array; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| segments--; | segments--; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 124 Lines • Show Last 20 Lines | |||||