Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/armature/pose_utils.c
| Show First 20 Lines • Show All 108 Lines • ▼ Show 20 Lines | if (transFlags) { | ||||
| /* store current bbone values */ | /* store current bbone values */ | ||||
| pfl->roll1 = pchan->roll1; | pfl->roll1 = pchan->roll1; | ||||
| pfl->roll2 = pchan->roll2; | pfl->roll2 = pchan->roll2; | ||||
| pfl->curveInX = pchan->curveInX; | pfl->curveInX = pchan->curveInX; | ||||
| pfl->curveInY = pchan->curveInY; | pfl->curveInY = pchan->curveInY; | ||||
| pfl->curveOutX = pchan->curveOutX; | pfl->curveOutX = pchan->curveOutX; | ||||
| pfl->curveOutY = pchan->curveOutY; | pfl->curveOutY = pchan->curveOutY; | ||||
| pfl->ease1 = pchan->ease1; | |||||
| pfl->ease2 = pchan->ease2; | |||||
| pfl->scaleIn = pchan->scaleIn; | pfl->scaleIn = pchan->scaleIn; | ||||
| pfl->scaleOut = pchan->scaleOut; | pfl->scaleOut = pchan->scaleOut; | ||||
| /* make copy of custom properties */ | /* make copy of custom properties */ | ||||
| if (pchan->prop && (transFlags & ACT_TRANS_PROP)) | if (pchan->prop && (transFlags & ACT_TRANS_PROP)) | ||||
| pfl->oldprops = IDP_CopyProperty(pchan->prop); | pfl->oldprops = IDP_CopyProperty(pchan->prop); | ||||
| } | } | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | for (pfl = pfLinks->first; pfl; pfl = pfl->next) { | ||||
| /* store current bbone values */ | /* store current bbone values */ | ||||
| pchan->roll1 = pfl->roll1; | pchan->roll1 = pfl->roll1; | ||||
| pchan->roll2 = pfl->roll2; | pchan->roll2 = pfl->roll2; | ||||
| pchan->curveInX = pfl->curveInX; | pchan->curveInX = pfl->curveInX; | ||||
| pchan->curveInY = pfl->curveInY; | pchan->curveInY = pfl->curveInY; | ||||
| pchan->curveOutX = pfl->curveOutX; | pchan->curveOutX = pfl->curveOutX; | ||||
| pchan->curveOutY = pfl->curveOutY; | pchan->curveOutY = pfl->curveOutY; | ||||
| pchan->ease1 = pfl->ease1; | |||||
| pchan->ease2 = pfl->ease2; | |||||
| pchan->scaleIn = pfl->scaleIn; | pchan->scaleIn = pfl->scaleIn; | ||||
| pchan->scaleOut = pfl->scaleOut; | pchan->scaleOut = pfl->scaleOut; | ||||
| /* just overwrite values of properties from the stored copies (there should be some) */ | /* just overwrite values of properties from the stored copies (there should be some) */ | ||||
| if (pfl->oldprops) | if (pfl->oldprops) | ||||
| IDP_SyncGroupValues(pfl->pchan->prop, pfl->oldprops); | IDP_SyncGroupValues(pfl->pchan->prop, pfl->oldprops); | ||||
| } | } | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines | |||||