Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/armature.c
| Show First 20 Lines • Show All 2,158 Lines • ▼ Show 20 Lines | for (pchan = pose->chanbase.first; pchan; pchan = pchan->next) { | ||||
| } | } | ||||
| } | } | ||||
| if (error) { | if (error) { | ||||
| return; | return; | ||||
| } | } | ||||
| /* clear all transformation values from library */ | /* clear all transformation values from library */ | ||||
| BKE_pose_rest(frompose); | BKE_pose_rest(frompose, false); | ||||
| /* copy over all of the proxy's bone groups */ | /* copy over all of the proxy's bone groups */ | ||||
| /* TODO for later | /* TODO for later | ||||
| * - implement 'local' bone groups as for constraints | * - implement 'local' bone groups as for constraints | ||||
| * Note: this isn't trivial, as bones reference groups by index not by pointer, | * Note: this isn't trivial, as bones reference groups by index not by pointer, | ||||
| * so syncing things correctly needs careful attention */ | * so syncing things correctly needs careful attention */ | ||||
| BLI_freelistN(&pose->agroups); | BLI_freelistN(&pose->agroups); | ||||
| BLI_duplicatelist(&pose->agroups, &frompose->agroups); | BLI_duplicatelist(&pose->agroups, &frompose->agroups); | ||||
| ▲ Show 20 Lines • Show All 571 Lines • Show Last 20 Lines | |||||