diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-03-16 06:51:00 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-03-16 06:51:00 +0300 |
commit | e3d05088827ae08ca5749e95474a60d673199dcd (patch) | |
tree | 4607300cf65bcc5a21af442957ec72f023b9690e /source/blender/blenkernel/intern/action.c | |
parent | f50eb9c0c9c4719aa3968e50368af54c06e25ff5 (diff) |
== Proxies + Bone Groups ==
Bone Groups are now always copied from the source armature. This does mean that it isn't possible to have 'local' bone groups as for constraints, but it is better than losing bone groups from the original.
Diffstat (limited to 'source/blender/blenkernel/intern/action.c')
-rw-r--r-- | source/blender/blenkernel/intern/action.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c index b8c05f3bb7b..3b4de305545 100644 --- a/source/blender/blenkernel/intern/action.c +++ b/source/blender/blenkernel/intern/action.c @@ -295,7 +295,7 @@ void copy_pose(bPose **dst, bPose *src, int copycon) outPose= MEM_callocN(sizeof(bPose), "pose"); - duplicatelist (&outPose->chanbase, &src->chanbase); + duplicatelist(&outPose->chanbase, &src->chanbase); if (copycon) { for (pchan=outPose->chanbase.first; pchan; pchan=pchan->next) { @@ -314,11 +314,11 @@ void free_pose_channels(bPose *pose) if (pose->chanbase.first) { for (pchan = pose->chanbase.first; pchan; pchan=pchan->next){ - if(pchan->path) + if (pchan->path) MEM_freeN(pchan->path); free_constraints(&pchan->constraints); } - BLI_freelistN (&pose->chanbase); + BLI_freelistN(&pose->chanbase); } } |