Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/armature/editarmature_retarget.c
| Show First 20 Lines • Show All 1,438 Lines • ▼ Show 20 Lines | static EditBone *add_editbonetolist(char *name, ListBase *list) | ||||
| BLI_addtail(list, bone); | BLI_addtail(list, bone); | ||||
| bone->flag |= BONE_TIPSEL; | bone->flag |= BONE_TIPSEL; | ||||
| bone->weight = 1.0F; | bone->weight = 1.0F; | ||||
| bone->dist = 0.25F; | bone->dist = 0.25F; | ||||
| bone->xwidth = 0.1; | bone->xwidth = 0.1; | ||||
| bone->zwidth = 0.1; | bone->zwidth = 0.1; | ||||
| bone->ease1 = 1.0; | |||||
| bone->ease2 = 1.0; | |||||
| bone->rad_head = 0.10; | bone->rad_head = 0.10; | ||||
| bone->rad_tail = 0.05; | bone->rad_tail = 0.05; | ||||
| bone->segments = 1; | bone->segments = 1; | ||||
| bone->layer = 1; //arm->layer; | bone->layer = 1; //arm->layer; | ||||
| /* Bendy-Bone parameters */ | |||||
aligorith: ... | |||||
| bone->roll1 = 0.0f; | bone->roll1 = 0.0f; | ||||
| bone->roll2 = 0.0f; | bone->roll2 = 0.0f; | ||||
| bone->curveInX = 0.0f; | bone->curveInX = 0.0f; | ||||
| bone->curveInY = 0.0f; | bone->curveInY = 0.0f; | ||||
| bone->curveOutX = 0.0f; | bone->curveOutX = 0.0f; | ||||
| bone->curveOutY = 0.0f; | bone->curveOutY = 0.0f; | ||||
| bone->ease1 = 1.0f; | |||||
| bone->ease2 = 1.0f; | |||||
| bone->scaleIn = 1.0f; | bone->scaleIn = 1.0f; | ||||
| bone->scaleOut = 1.0f; | bone->scaleOut = 1.0f; | ||||
| return bone; | return bone; | ||||
| } | } | ||||
| #endif | #endif | ||||
| #if 0 /* UNUSED */ | #if 0 /* UNUSED */ | ||||
| ▲ Show 20 Lines • Show All 1,172 Lines • Show Last 20 Lines | |||||
...